Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

composebox_typeahead tests: Test every terminal symbol.

Shubham Padia5b0035832778
diff --git a/web/tests/composebox_typeahead.test.cjs b/web/tests/composebox_typeahead.test.cjs
index 11c249161f6..04c8ad54e24 100644
--- a/web/tests/composebox_typeahead.test.cjs
+++ b/web/tests/composebox_typeahead.test.cjs
@@ -3031,7 +3031,7 @@ test("begins_typeahead", ({override, override_rewire}) => {
assert_typeahead_equals("```test", "ing", []);
assert_typeahead_equals("~~~test", "ing", []);
const terminal_symbols = ",.;?!()[]> \u{A0}\"'\n\t";
- for (const symbol of terminal_symbols.split()) {
+ for (const symbol of terminal_symbols) {
assert_typeahead_equals(
"@othello",
symbol,