-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
" Tests for the NeomakeInfo command. | ||
Include: include/setup.vader | ||
|
||
Execute (NeomakeFocus): | ||
noautocmd setfiletype neomake_tests | ||
|
||
call NeomakeTestsSetVimMessagesMarker() | ||
|
||
NeomakeStatus | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Neomake is enabled.'] | ||
|
||
NeomakeFocus maker_without_exe | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Focusing maker_without_exe.'] | ||
NeomakeStatus | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Neomake is enabled. Focused maker_without_exe for buffer.'] | ||
|
||
NeomakeFocus maker_without_exe | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Already focused maker_without_exe.'] | ||
|
||
NeomakeFocus nonexisting | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Focusing nonexisting.'] | ||
|
||
NeomakeFocus maker_without_exe | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Focusing maker_without_exe.'] | ||
|
||
NeomakeUnfocus | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Unfocus: set enabled_makers back to nonexisting.'] | ||
|
||
NeomakeUnfocus! | ||
AssertEqual NeomakeTestsGetVimMessages(), ['Unfocus: unset enabled_makers.'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters