We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 737b687 commit bb9adbdCopy full SHA for bb9adbd
1 file changed
compiler/tests/cases/vm.json
@@ -818,6 +818,8 @@
818
{"src": "print('-5'.zfill(4))", "output": ["-005"]},
819
{"src": "print('abc'.zfill(5))", "output": ["00abc"]},
820
{"src": "print('abc'.zfill(2))", "output": ["abc"]},
821
+ {"src": "print('abc'.center(-1))", "output": ["abc"]},
822
+ {"src": "print('abc'.zfill(-1))", "output": ["abc"]},
823
{"src": "print('hello'[:])", "output": ["hello"]},
824
{"src": "print('hello'[1:])", "output": ["ello"]},
825
{"src": "print('hello'[:3])", "output": ["hel"]},
0 commit comments