summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdline/repl_inspect.py2
-rw-r--r--tests/cmdline/repl_inspect.py.exp6
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
+>>>