dohtest 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/doh/test/master_runner.rb +5 -1
  2. metadata +1 -1
@@ -17,7 +17,11 @@ class MasterRunner
17
17
  TestGroup.descendants.each do |group_class|
18
18
  break if GroupRunner.new(group_class, @output, @config).run
19
19
  end
20
- @config[:post_test_callback].call() if @config[:post_test_callback]
20
+ if @config[:post_test_callback]
21
+ if (!@config[:post_test_callback].call())
22
+ @output.test_error("PostTestCallback", proc.inspect, "failure")
23
+ end
24
+ end
21
25
  @output.run_end(Time.now - start_time)
22
26
  end
23
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: