mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 20:51:19 -08:00
Restyle the web console and tidy its labels, Ask tab, cleanup and help
AI Assisted
This commit is contained in:
1 parent
710c751c2f
commit
e9679c47b9
103 files changed
+4054
-2273
No files matched your search
@@ -1430,7 +1430,7 @@ test("page rules: dropTab puts a tab just before another, or at the end", () =>
|
||||
test("page rules: the tab codes have sentences of their own", () => {
|
||||
for (const code of ["bad-name", "duplicate-name", "too-many-tabs", "no-such-tab"]) assert.ok(rules.ERROR_CODES.includes(code), code);
|
||||
assert.equal(rules.errorSentence("duplicate-name"), "There is already a tab with that name.");
|
||||
assert.equal(rules.errorSentence("no-such-tab"), "That tab is no longer in this notepad.");
|
||||
assert.equal(rules.errorSentence("no-such-tab"), "That tab is no longer in this Notebook.");
|
||||
assert.match(rules.errorSentence("too-many-tabs"), new RegExp(String(NOTEPAD_MAX_TABS)));
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user