Skip to content

Commit 04ddca2

Browse files
committed
Fix test
1 parent e76c216 commit 04ddca2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_scriptutils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ def test_quote_args(args, expect):
288288
("#! /usr/bin/python3", "PythonCore3", None),
289289
("#! /usr/bin/pythonw3", "PythonCore3", None),
290290
("#! custom", None, "#!CUSTOM"),
291-
("#! custom full line", None, "#!CUSTOM2"),
292-
("#!custom full line with extra", None, None),
291+
("#! full line custom", None, "#!CUSTOM2"),
292+
("#!full line custom with extra", None, None),
293293
("custom", None, None),
294-
("custom full line", None, None),
294+
("full line custom", None, None),
295295
]])
296296
def test_shebang_templates(fake_config, line, expect_id, expect_line):
297297
fake_config.installs = [
@@ -308,7 +308,7 @@ def test_shebang_templates(fake_config, line, expect_id, expect_line):
308308
"/usr/bin/python3": "py -3.2",
309309
"/usr/bin/pythonw3": "pyw -3.2",
310310
"custom": "CUSTOM",
311-
"custom full line": "CUSTOM2",
311+
"full line custom": "CUSTOM2",
312312
}
313313
actual, actual_line = _replace_templates(fake_config, line, False)
314314
if expect_id:

0 commit comments

Comments
 (0)