inline_tests 1.0.3 → 1.0.4
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/inline_test_failure.rb +1 -1
- data/lib/inline_tests.rb +7 -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: 52d7f5e865cea20d021f5869af73cdaaa17cfbba58c8a57b88f8defe5ffef04f
|
4
|
+
data.tar.gz: 24ff7a42c0250974f2736d0376f0aead4c50f23e295a4d50696670061f1f3d87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16dd438c1236501535d6cf77e0716b22bcaa1c27628a94c47636beb054eaa7c33bce8b72890770d5b641e210d05a5bc9d6c2fe2d14ff9ae2ba897754e79d900a
|
7
|
+
data.tar.gz: c64d00f930b82d514bed71b120492d3ea97b6a28225650d069fbd1aef08e145708054a8a480a5633409c3614dd42d0f254855e1f9db9b4f1b83a0170f46a5967
|
data/lib/inline_test_failure.rb
CHANGED
data/lib/inline_tests.rb
CHANGED
@@ -63,7 +63,13 @@ class InlineTests
|
|
63
63
|
puts " #{test_fails} FAILS"
|
64
64
|
puts
|
65
65
|
puts "#{METHODS_THAT_NEED_TESTS.count} methods still need tests:"
|
66
|
-
METHODS_THAT_NEED_TESTS.each
|
66
|
+
METHODS_THAT_NEED_TESTS.each do |method|
|
67
|
+
puts " #{method.receiver.name}##{method.original_name}"
|
68
|
+
puts " #{method.source_location.join(':')}"
|
69
|
+
end
|
70
|
+
|
71
|
+
# Intentionally return nil so we don't re-output what we just printed as a return value
|
72
|
+
nil
|
67
73
|
end
|
68
74
|
|
69
75
|
private
|