mirror of https://github.com/python/cpython
Two extra startswith tests
This commit is contained in:
parent
8a9514a660
commit
122473fc70
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue