Fix assertion

- don't toggle rectangular-region-mode, check if it is on.
This commit is contained in:
Magnar Sveen 2012-09-19 17:35:00 +02:00
parent c1fba2c057
commit f6403eae7f

View File

@ -22,7 +22,7 @@
(Then "^rectangular-region-mode should be on$"
(lambda ()
(assert (rectangular-region-mode) nil
(assert rectangular-region-mode nil
"Expected rectangular-region-mode mode to be on, but wasn't.")))
(When "^I press \"\\(.+\\)\"$"