File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -781,8 +781,8 @@ def test_maxfail_invalid_option(run_reframe):
781781 )
782782 assert 'Traceback' not in stdout
783783 assert 'Traceback' not in stderr
784- assert "--maxfail is not a valid integer : 'foo'" in stdout
785- assert returncode == 1
784+ assert "--maxfail: invalid int value : 'foo'" in stderr
785+ assert returncode == 2
786786
787787
788788def test_maxfail_negative (run_reframe ):
@@ -793,7 +793,7 @@ def test_maxfail_negative(run_reframe):
793793 )
794794 assert 'Traceback' not in stdout
795795 assert 'Traceback' not in stderr
796- assert "--maxfail should be a non-negative integer: '-2' " in stdout
796+ assert "--maxfail should be a non-negative integer: -2 " in stdout
797797 assert returncode == 1
798798
799799
You can’t perform that action at this time.
0 commit comments