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.
- checksums.yaml +4 -4
- data/lib/tet.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1096a4a6ae70158e1f6f70394a2b9d5f246a18c
|
4
|
+
data.tar.gz: 2b5bad1375b9dbdac13a038ae07360c1a81e27f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|