minitest-utils 0.4.5 → 0.4.6
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.
- checksums.yaml +4 -4
- data/lib/minitest/utils/reporter.rb +7 -7
- data/lib/minitest/utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f2a64d51c694699857beeeb0c224ac318a93370004e38fafd45c8c150f51d4
|
4
|
+
data.tar.gz: c7cedcd2bb07bf7f081695a006406ff552fa2a9546b1303923ac8b91ec181f0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 237296d8b11d7c1ca2f3f180cc766dbd5829a9af85cacdc9e906a115d44fc593086afd4c52678a4b44af0f694c894ab3de56a1ef42653e2b07fe11ada7ccde25
|
7
|
+
data.tar.gz: e22d3c24c0843787f347f892205f8579f3ed0c3661a114e8b207649571115a20ca46c84de11e2474c8a330917d64a348f79779a8aeb827f9c56e97398d0e21f5
|
@@ -106,12 +106,12 @@ module Minitest
|
|
106
106
|
|
107
107
|
private def display_skipped(result, index)
|
108
108
|
location = location(result.failure.location)
|
109
|
-
|
110
|
-
|
109
|
+
output = ["\n\n"]
|
110
|
+
output << color(
|
111
111
|
format("%4d) %s [SKIPPED]", index, result_name(result.name)), :yellow
|
112
112
|
)
|
113
|
-
|
114
|
-
io.print
|
113
|
+
output << "\n" << indent(color(location, :yellow))
|
114
|
+
io.print output.join
|
115
115
|
end
|
116
116
|
|
117
117
|
private def display_replay_command(result)
|
@@ -120,10 +120,10 @@ module Minitest
|
|
120
120
|
|
121
121
|
command = build_test_command(location, line, result)
|
122
122
|
|
123
|
-
|
124
|
-
|
123
|
+
output = ["\n"]
|
124
|
+
output << color(command, :red)
|
125
125
|
|
126
|
-
io.print
|
126
|
+
io.print output.join
|
127
127
|
end
|
128
128
|
|
129
129
|
private def find_test_file(result)
|