Add tests for :set-cmd-text --run-on-count

This commit is contained in:
Michael Hoang 2017-10-04 02:30:23 +11:00
parent 8506e1f4f2
commit c8c6199369

View File

@ -47,6 +47,14 @@ Feature: Various utility commands.
When I run :set-cmd-text foo
Then the error "Invalid command text 'foo'." should be shown
Scenario: :set-cmd-text with run on count flag and no count
When I run :set-cmd-text --run-on-count :message-info "Hello World"
Then "message:info:86 Hello World" should not be logged
Scenario: :set-cmd-text with run on count flag and a count
When I run :set-cmd-text --run-on-count :message-info "Hello World" with count 1
Then the message "Hello World" should be shown
## :jseval
Scenario: :jseval