diff options
author | Barry Warsaw <barry@python.org> | 1999-06-11 17:51:13 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-06-11 17:51:13 (GMT) |
commit | 122473fc70ba3c1c5c112b8be78d81a963f3cf6f (patch) | |
tree | 0966ee34c527e78929df448f729957bfdc7c799e /Lib/test | |
parent | 8a9514a66015f6f01ee0678707d1668cddfb6e7b (diff) | |
download | cpython-122473fc70ba3c1c5c112b8be78d81a963f3cf6f.zip cpython-122473fc70ba3c1c5c112b8be78d81a963f3cf6f.tar.gz cpython-122473fc70ba3c1c5c112b8be78d81a963f3cf6f.tar.bz2 |
Two extra startswith tests
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_string.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py index 2fa9dd5..73ece8e 100644 --- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py @@ -103,6 +103,9 @@ test('startswith', 'hello', 1, 'o', 4) test('startswith', 'hello', 0, 'o', 5) test('startswith', 'hello', 1, '', 5) test('startswith', 'hello', 0, 'lo', 6) +test('startswith', 'helloworld', 1, 'lowo', 3) +test('startswith', 'helloworld', 1, 'lowo', 3, 7) +test('startswith', 'helloworld', 0, 'lowo', 3, 6) test('endswith', 'hello', 1, 'lo') test('endswith', 'hello', 0, 'he') |