tools: Add missing spaces in concatenated string literals.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-10-24 16:59:54 -04:00
committed by Tim Abbott
parent 3d2a3f2593
commit d41afb2b25
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ try:
os.remove(os.path.join(VAR_DIR_PATH, "zulip-test-symlink")) os.remove(os.path.join(VAR_DIR_PATH, "zulip-test-symlink"))
except OSError: except OSError:
print( print(
FAIL + "Error: Unable to create symlinks." FAIL + "Error: Unable to create symlinks. "
"Make sure you have permission to create symbolic links." + ENDC "Make sure you have permission to create symbolic links." + ENDC
) )
print("See this page for more information:") print("See this page for more information:")

View File

@@ -674,7 +674,7 @@ html_rules: List["Rule"] = [
}, },
{ {
"pattern": r"\bon\w+ ?=", "pattern": r"\bon\w+ ?=",
"description": "Don't use inline event handlers (onclick=, etc. attributes) in HTML. Instead," "description": "Don't use inline event handlers (onclick=, etc. attributes) in HTML. Instead, "
"attach a jQuery event handler ($('#foo').on('click', function () {...})) when " "attach a jQuery event handler ($('#foo').on('click', function () {...})) when "
"the DOM is ready (inside a $(function () {...}) block).", "the DOM is ready (inside a $(function () {...}) block).",
"exclude": { "exclude": {

View File

@@ -225,7 +225,7 @@ class TestBrowserAndOsUserAgentStrings(ZulipTestCase):
"Windows", "Windows",
), ),
( (
"Mozilla/5.0 (X11; CrOS x86_64 10895.56.0) AppleWebKit/537.36" "Mozilla/5.0 (X11; CrOS x86_64 10895.56.0) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/69.0.3497.95 Safari/537.36", "(KHTML, like Gecko) Chrome/69.0.3497.95 Safari/537.36",
"Chrome", "Chrome",
"ChromeOS", "ChromeOS",