summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/repl_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index 9731aa0aa..e24978876 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -185,6 +185,11 @@ fn pty_complete_imports() {
let output = console.read_all_output();
assert_contains!(output, "Hello World");
});
+
+ // does not panic when tabbing when empty
+ util::with_pty(&["repl"], |mut console| {
+ console.write_line("import '\t");
+ });
}
#[test]