From 122473fc70ba3c1c5c112b8be78d81a963f3cf6f Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 11 Jun 1999 17:51:13 +0000 Subject: Two extra startswith tests --- Lib/test/test_string.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- cgit v0.12