diff options
Diffstat (limited to 'test/automated/python-tests.el')
| -rw-r--r-- | test/automated/python-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index 54ed92212b8..f6564dd58cc 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el | |||
| @@ -2452,6 +2452,13 @@ if x: | |||
| 2452 | (line-beginning-position) (line-end-position)) | 2452 | (line-beginning-position) (line-end-position)) |
| 2453 | "abcdef"))))) | 2453 | "abcdef"))))) |
| 2454 | 2454 | ||
| 2455 | (ert-deftest python-bob-infloop-avoid () | ||
| 2456 | "Test that strings at BOB don't confuse syntax analysis. Bug#24905" | ||
| 2457 | (python-tests-with-temp-buffer | ||
| 2458 | " \"\n" | ||
| 2459 | (goto-char (point-min)) | ||
| 2460 | (font-lock-fontify-buffer))) | ||
| 2461 | |||
| 2455 | 2462 | ||
| 2456 | ;;; Shell integration | 2463 | ;;; Shell integration |
| 2457 | 2464 | ||