minitest-utils 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cafac996d26a83dd52cab2251f1c2e2d7cae70ef30d382a72061945ab343f29f
4
- data.tar.gz: ec09d038b0d0e95729038894f549fb81f440f86c21da502a05aca821f4924315
3
+ metadata.gz: 47f2a64d51c694699857beeeb0c224ac318a93370004e38fafd45c8c150f51d4
4
+ data.tar.gz: c7cedcd2bb07bf7f081695a006406ff552fa2a9546b1303923ac8b91ec181f0c
5
5
  SHA512:
6
- metadata.gz: eef226b50750e7ebc85861059679783dfbfce05a74909b8f15d0680ea59e930e4f580f976653d9759c3b6c3b66d0feb369f00e0688290754e61d0732be1fe080
7
- data.tar.gz: 7ec28ba64bbf01f8bce06bbcb8c6010eb96070440f170c98de21454f61ffe45af620fec8a610a7a24b3e039ecfa7639e3068618f75aef81a93d8f6e9b392f091
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
- str = "\n\n"
110
- str << color(
109
+ output = ["\n\n"]
110
+ output << color(
111
111
  format("%4d) %s [SKIPPED]", index, result_name(result.name)), :yellow
112
112
  )
113
- str << "\n" << indent(color(location, :yellow))
114
- io.print str
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
- str = "\n"
124
- str << color(command, :red)
123
+ output = ["\n"]
124
+ output << color(command, :red)
125
125
 
126
- io.print str
126
+ io.print output.join
127
127
  end
128
128
 
129
129
  private def find_test_file(result)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Minitest
4
4
  module Utils
5
- VERSION = "0.4.5"
5
+ VERSION = "0.4.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira