tests/cmdline: Improve repl.c autocomplete test coverage.
This commit is contained in:
parent
f397e1fdf0
commit
b7024f0f64
|
@ -0,0 +1,10 @@
|
|||
# tests for autocompletion
|
||||
impo sys
|
||||
not_exist.
|
||||
not_exist
|
||||
x = '123'
|
||||
1, x.isdi ()
|
||||
i = str
|
||||
i.lowe ('ABC')
|
||||
j = None
|
||||
j.
|
|
@ -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
|
||||
>>>
|
Loading…
Reference in New Issue