summaryrefslogtreecommitdiff
path: root/bin/run_tests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-12-04 15:16:25 -0800
committerelijah <elijah@riseup.net>2014-12-04 15:16:25 -0800
commit7ca1a6feb2f881f2a99b624c266f0779d2402ff9 (patch)
tree43ee2d96ba1281fae3e098dffe55aa1bc0a0e409 /bin/run_tests
parent60bd76583d46fe1c9f39804c7fd892fa9c1745d0 (diff)
tests - better errors, ensure tmp users are deleted, remove bad 'pass()' call that made tmp_user tests always succeed.
Diffstat (limited to 'bin/run_tests')
-rwxr-xr-xbin/run_tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/run_tests b/bin/run_tests
index 4addc0c8..44384379 100755
--- a/bin/run_tests
+++ b/bin/run_tests
@@ -49,15 +49,15 @@ end
# this class is raised if a test file wants to be skipped entirely.
# (to skip an individual test, MiniTest::Skip is used instead)
-class SkipTest < Exception
+class SkipTest < StandardError
end
# raised if --no-continue and there is an error
-class TestError < Exception
+class TestError < StandardError
end
# raised if --no-continue and there is a failure
-class TestFailure < Exception
+class TestFailure < StandardError
end
##