summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M. Larson <sethmichaellarson@gmail.com>2019-01-11 16:54:42 -0600
committerGitHub <noreply@github.com>2019-01-11 16:54:42 -0600
commitd5e0eb64dd14840cd3794fabcd81ee52a5e6f3e8 (patch)
tree57e7214ec9d536b1e8923dde81fe1dc82720edd9
parent7c19c8852be6f9e3e07112bc66d1cfa0e911e493 (diff)
downloadurllib3-d5e0eb64dd14840cd3794fabcd81ee52a5e6f3e8.tar.gz
Add additional testcase for split_first() (#1525)
-rw-r--r--test/test_util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_util.py b/test/test_util.py
index b6f9f552..850bf3fd 100644
--- a/test/test_util.py
+++ b/test/test_util.py
@@ -367,6 +367,7 @@ class TestUtil(object):
(('abcd', ''), ('abcd', '', None)),
(('abcd', 'a'), ('', 'bcd', 'a')),
(('abcd', 'ab'), ('', 'bcd', 'a')),
+ (('abcd', 'eb'), ('a', 'cd', 'b')),
])
def test_split_first(self, input, expected):
output = split_first(*input)