mirror of
https://github.com/python/cpython.git
synced 2024-12-12 03:04:15 +08:00
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
Block a user