tet 1.4.0 → 1.4.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tet.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df1946431552379933de20912968be739eab224
4
- data.tar.gz: c62f656b7d3f666c6d78dc6069ee335b698c7a9b
3
+ metadata.gz: b1096a4a6ae70158e1f6f70394a2b9d5f246a18c
4
+ data.tar.gz: 2b5bad1375b9dbdac13a038ae07360c1a81e27f2
5
5
  SHA512:
6
- metadata.gz: 395c666f9638b07ff91517ddd9e70acecf91d5c9a49b8ba49932debfd097f1300fa3cc675a4476962b1fb0585245e322fba10cc61eabd583a25fbffceb362b2e
7
- data.tar.gz: f0472526eb13689f3e89e5f44415d8689e124c7f4fc3e56856c8511e3551bfbacabe6f891dd4a22ee250f93a69afadcedaa7d1dfeccc94a963b143545588db89
6
+ metadata.gz: 9fd9ff0cc0747b0c8e4594e11855b550cb5d62661bdc648da8ef5f293f3594634bbae582f770fcff86c03041c8c26fe900d5996bcd5985fad49817db36b032c9
7
+ data.tar.gz: 0102c03c6892f95f948d345497ff8b0fc785e317d0116ad48be4df82177290438e75809a021a2a6699990c36c05c4e78f9d0cda98e98c6ce8a334f32a78bbe7e
data/lib/tet.rb CHANGED
@@ -124,8 +124,10 @@ module Tet
124
124
  @test_count += 1
125
125
  @fail_count += 1
126
126
 
127
+
127
128
  group = @current_group.dup
128
129
  current_section = @messages
130
+ messages = messages.map { |item| item.is_a?(Array) ? item : "✖ #{item}" }
129
131
 
130
132
  # Walk down the tree of messages until either you find the current group's
131
133
  # array of messages OR the last section in common with the current group.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Fulton