Change relevant tests to work with new toggle behaviour
This commit is contained in:
parent
573c25073d
commit
a98cd9a528
@ -26,7 +26,7 @@ Feature: Setting settings.
|
|||||||
Scenario: Toggling an option
|
Scenario: Toggling an option
|
||||||
When I run :set general auto-save-config false
|
When I run :set general auto-save-config false
|
||||||
And I run :set general auto-save-config!
|
And I run :set general auto-save-config!
|
||||||
Then general -> auto-save-config should be True
|
Then general -> auto-save-config should be true
|
||||||
|
|
||||||
Scenario: Toggling a non-bool option
|
Scenario: Toggling a non-bool option
|
||||||
When I run :set colors statusbar.bg!
|
When I run :set colors statusbar.bg!
|
||||||
@ -44,7 +44,7 @@ Feature: Setting settings.
|
|||||||
Scenario: Using ! and -p
|
Scenario: Using ! and -p
|
||||||
When I run :set general auto-save-config false
|
When I run :set general auto-save-config false
|
||||||
And I run :set -p general auto-save-config!
|
And I run :set -p general auto-save-config!
|
||||||
Then the message "general auto-save-config = True" should be shown
|
Then the message "general auto-save-config = true" should be shown
|
||||||
|
|
||||||
Scenario: Setting an invalid value
|
Scenario: Setting an invalid value
|
||||||
When I run :set general auto-save-config blah
|
When I run :set general auto-save-config blah
|
||||||
|
Loading…
Reference in New Issue
Block a user