mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
tests/cmdline: Improve repl.c autocomplete test coverage.
This commit is contained in:
15
tests/cmdline/repl_autocomplete.py.exp
Normal file
15
tests/cmdline/repl_autocomplete.py.exp
Normal file
@@ -0,0 +1,15 @@
|
||||
MicroPython \.\+ version
|
||||
Use \.\+
|
||||
>>> # tests for autocompletion
|
||||
>>> import sys
|
||||
>>> not_exist.[K[K[K[K[K[K[K[K[K[K
|
||||
>>> not_exist[K[K[K[K[K[K[K[K[K
|
||||
>>> x = '123'
|
||||
>>> 1, x.isdigit()
|
||||
(1, True)
|
||||
>>> i = str
|
||||
>>> i.lower('ABC')
|
||||
'abc'
|
||||
>>> j = None
|
||||
>>> j.[K[K
|
||||
>>>
|
||||
Reference in New Issue
Block a user