diff options
author | Adam <adam@adambard.com> | 2016-11-09 22:10:35 -0800 |
---|---|---|
committer | Adam <adam@adambard.com> | 2016-11-09 22:10:35 -0800 |
commit | 03980b63c7f7fa5bfd6a74e23613bcf82392105a (patch) | |
tree | a6959bf7b6552331b68c893a9f0df628728abb6f /Rakefile | |
parent | 1d494a6346aa3422b086cbfa85fc62c917516a8b (diff) |
Fix encoding test, then make tests actually fail.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,11 +1,19 @@ task default: %w[test] task :test do + failed = false Dir["./tests/*.rb"].each do |test_file| begin - ruby test_file + ruby test_file + puts "" rescue puts "FAILED #{test_file}!" + puts "" + failed = true end end + + if failed + exit 0 + end end |