It's a bit fiddily, but seems to get the job done.

Testing for breakage with case-fold-search is set to nil (see issue #600).
This commit is contained in:
John Miller 2019-10-18 08:38:04 -06:00
parent 86c034997e
commit 5475e5a0af
2 changed files with 11 additions and 0 deletions

View file

@ -168,3 +168,9 @@ Scenario: Test the undo-tree-incompatible logic
Given new python notebook
And I call "turn-on-undo-tree-mode"
Then the value of "undo-tree-mode" is nil
@case-fold-search-regression
Scenario: Check for regression on case-fold-search (issue #600)
Given case sensitive checked notebook
And I switch to log expr "ein:log-all-buffer-name"
Then I should not see "websocket-invalid-header"

View file

@ -163,6 +163,11 @@
(switch-to-buffer buf-name)
(Then "I should be in buffer \"%s\"" buf-name))))))
(When "^case sensitive checked notebook$"
(lambda ()
(let ((case-fold-search nil))
(Then "new python notebook"))))
(When "^I kill buffer and reopen$"
(lambda ()
(let ((name (ein:$notebook-notebook-name ein:%notebook%)))