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.

compose-typeahead-test: Update confusing test string.

Lauryn Menard00b572b8083c
diff --git a/web/tests/composebox_typeahead.test.js b/web/tests/composebox_typeahead.test.js
index 429b50fce75..97e11275b53 100644
--- a/web/tests/composebox_typeahead.test.js
+++ b/web/tests/composebox_typeahead.test.js
@@ -1588,7 +1588,7 @@ test("tokenizing", () => {
// The following cases are kinda judgment calls...
assert.equal(ct.tokenize_compose_str("foo @toomanycharactersisridiculoustocomplete"), "");
- assert.equal(ct.tokenize_compose_str("foo #streams@foo"), "#streams@foo");
+ assert.equal(ct.tokenize_compose_str("foo #bar@foo"), "#bar@foo");
});
test("content_highlighter_html", ({override_rewire}) => {