minitest-reporters 0.14.8 → 0.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,7 +53,7 @@ module MiniTest
|
|
53
53
|
print pad_test(test)
|
54
54
|
print(red(pad_mark('FAIL')))
|
55
55
|
puts
|
56
|
-
print_info(test_runner.exception)
|
56
|
+
print_info(test_runner.exception, false)
|
57
57
|
else
|
58
58
|
test_result(red('F'))
|
59
59
|
end
|
@@ -199,8 +199,8 @@ module MiniTest
|
|
199
199
|
[runner.test_count, runner.assertion_count, runner.failures, runner.errors, runner.skips]
|
200
200
|
end
|
201
201
|
|
202
|
-
def print_info(e)
|
203
|
-
print "#{e.exception.class.to_s}: "
|
202
|
+
def print_info(e, name = true)
|
203
|
+
print "#{e.exception.class.to_s}: " if name
|
204
204
|
e.message.each_line { |line| print_with_info_padding(line) }
|
205
205
|
filter_backtrace(e.backtrace).each { |line| print_with_info_padding(line) }
|
206
206
|
end
|
@@ -64,7 +64,7 @@ module MiniTest
|
|
64
64
|
print(red { 'FAIL' })
|
65
65
|
print_test_with_time(suite, test)
|
66
66
|
puts
|
67
|
-
print_info(test_runner.exception)
|
67
|
+
print_info(test_runner.exception, false)
|
68
68
|
puts
|
69
69
|
|
70
70
|
self.color = RED
|
@@ -106,8 +106,8 @@ module MiniTest
|
|
106
106
|
print(" %s#%s (%.2fs)%s" % [suite, test, total_time, clr])
|
107
107
|
end
|
108
108
|
|
109
|
-
def print_info(e)
|
110
|
-
print pad("#{e.exception.class.to_s}: ")
|
109
|
+
def print_info(e, name = true)
|
110
|
+
print pad("#{e.exception.class.to_s}: ") if name
|
111
111
|
e.message.each_line { |line| puts pad(line) }
|
112
112
|
|
113
113
|
trace = filter_backtrace(e.backtrace)
|
@@ -24,7 +24,7 @@ module MiniTest
|
|
24
24
|
print 'FAIL'
|
25
25
|
print_test_with_time(suite, test)
|
26
26
|
puts
|
27
|
-
print_info(test_runner.exception)
|
27
|
+
print_info(test_runner.exception, false)
|
28
28
|
puts
|
29
29
|
end
|
30
30
|
|
@@ -54,8 +54,8 @@ module MiniTest
|
|
54
54
|
print(" #{suite}##{test} (%.2fs)" % total_time)
|
55
55
|
end
|
56
56
|
|
57
|
-
def print_info(e)
|
58
|
-
print "#{e.exception.class.to_s}: "
|
57
|
+
def print_info(e, name = true)
|
58
|
+
print "#{e.exception.class.to_s}: " if name
|
59
59
|
e.message.each_line { |line| puts pad(line) }
|
60
60
|
|
61
61
|
trace = filter_backtrace(e.backtrace)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
segments:
|
166
166
|
- 0
|
167
|
-
hash: -
|
167
|
+
hash: -734840371492199705
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
none: false
|
170
170
|
requirements:
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash: -
|
176
|
+
hash: -734840371492199705
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project: minitest-reporters
|
179
179
|
rubygems_version: 1.8.24
|