Commit 0269ff64 authored by Mathieu Giraud's avatar Mathieu Giraud

src/should.py: flush the last command, even without tests

There is always the exit test.
parent 6f2982c4
......@@ -793,8 +793,10 @@ class TestSuite():
# Command : flush and test the previous tests
# If the command is empty (for example at the ned), launch previous commands even when there are no tests
l = l.strip()
if current_tests:
if current_tests or not l:
# Test current_cmds with current_tests
if not self.skip:
......@@ -810,7 +812,6 @@ class TestSuite():
current_tests = []
# Command
l = l.strip()
if not l:
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment