Skip to content

Commit

Permalink
Update project.t
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeckingham committed Feb 7, 2019
1 parent 8df6959 commit 2e72ae5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions test/project.t
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,9 @@ class TestBug1904(TestCase):
self.t("add pro:a.b test2")

def validate_order(self, out):
order = (
"a",
" b",
"a-b",
)
order = ("a",
" b",
"a-b")

lines = out.splitlines(True)
# position where project names start on the lines list
Expand All @@ -513,13 +511,10 @@ class TestBug1904(TestCase):
def test_project_eval(self):
"""1904: verify correct order under projects command"""
self.add_tasks()

code, out, err = self.t("projects")

self.validate_order(out)



if __name__ == "__main__":
from simpletap import TAPTestRunner
unittest.main(testRunner=TAPTestRunner())
Expand Down

0 comments on commit 2e72ae5

Please sign in to comment.