diff options
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 97ffd5fe20f..59957ff0712 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -660,6 +660,18 @@ r'\\x12 \123 \\n \\u1234 \\U00010348 \\N{Plus-Minus Sign}'" | |||
| 660 | (3 . font-lock-string-face) (14) | 660 | (3 . font-lock-string-face) (14) |
| 661 | (16 . font-lock-string-face)))) | 661 | (16 . font-lock-string-face)))) |
| 662 | 662 | ||
| 663 | (ert-deftest python-font-lock-string-literal-concatenation () | ||
| 664 | "Test for bug#45897." | ||
| 665 | (python-tests-assert-faces | ||
| 666 | "x = \"hello\"\"\" | ||
| 667 | y = \"confused\"" | ||
| 668 | '((1 . font-lock-variable-name-face) (2) | ||
| 669 | (3 . font-lock-operator-face) (4) | ||
| 670 | (5 . font-lock-string-face) (14) | ||
| 671 | (15 . font-lock-variable-name-face) (16) | ||
| 672 | (17 . font-lock-operator-face) (18) | ||
| 673 | (19 . font-lock-string-face)))) | ||
| 674 | |||
| 663 | 675 | ||
| 664 | ;;; Indentation | 676 | ;;; Indentation |
| 665 | 677 | ||