Two extra startswith tests

This commit is contained in:
Barry Warsaw 1999-06-11 17:51:13 +00:00
parent 8a9514a660
commit 122473fc70
1 changed files with 3 additions and 0 deletions

View File

@ -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')