diff options
author | David Lechner <david@pybricks.com> | 2020-01-15 12:37:02 -0600 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-04 17:53:06 +1100 |
commit | 7c24f5528582ff1f50a0b24dd360e65342b1fd0c (patch) | |
tree | 1b30ff902722f000017e13845278112e3ac977c8 | |
parent | 122baa678733636336689feeb4e2c8b4807649db (diff) |
tests/cmdline/repl_inspect: Add new test for -i option.
This adds a new test to verify that the inspect (-i) command line option
works.
-rw-r--r-- | tests/cmdline/repl_inspect.py | 2 | ||||
-rw-r--r-- | tests/cmdline/repl_inspect.py.exp | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/cmdline/repl_inspect.py b/tests/cmdline/repl_inspect.py new file mode 100644 index 000000000..5a7564a3c --- /dev/null +++ b/tests/cmdline/repl_inspect.py @@ -0,0 +1,2 @@ +# cmdline: -c print("test") -i +# -c option combined with -i option results in REPL diff --git a/tests/cmdline/repl_inspect.py.exp b/tests/cmdline/repl_inspect.py.exp new file mode 100644 index 000000000..59f734b2f --- /dev/null +++ b/tests/cmdline/repl_inspect.py.exp @@ -0,0 +1,6 @@ +test +MicroPython \.\+ version +Use \.\+ +>>> # cmdline: -c print("test") -i +>>> # -c option combined with -i option results in REPL +>>> |