mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Add tests for a invalid sort order
This commit is contained in:
parent
94205fb4ba
commit
7d23805ad6
1 changed files with 17 additions and 0 deletions
|
@ -398,6 +398,23 @@ class TestViewportsSpecificSortingCombined(TestViewportsSpecificSorting):
|
|||
* [ ] work task 2 (2015-08-02 00:00) #{uuid}
|
||||
"""
|
||||
|
||||
|
||||
class TestViewportsSortedInvalidOrder(IntegrationTest):
|
||||
|
||||
viminput = """
|
||||
=== Work tasks | +work $X ===
|
||||
"""
|
||||
|
||||
vimoutput = """
|
||||
=== Work tasks | +work $X ===
|
||||
"""
|
||||
|
||||
def execute(self):
|
||||
# Check that proper error message is raised
|
||||
self.command("w", regex="Sort indicator 'X' for viewport "
|
||||
"'Work tasks' is not defined, using default.", lines=2)
|
||||
|
||||
|
||||
class TestViewportsVisibleMetaTag(IntegrationTest):
|
||||
|
||||
viminput = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue