minitest-line 0.6.0 → 0.6.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/minitest/line_plugin.rb +1 -1
- data/test/test_line.rb +5 -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: 81ab6311ba89b519908bb7554dee83a00f70c499
|
4
|
+
data.tar.gz: 5360c46e1bb6b56e890256f5681d98f20b886893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ec830b15ad307f96ef82b619fca54ed40a6920b7fcbd04eb1ea7c988432ac96dccaa0f76a1743907a653c9d1e6ae78b256d3c3e7188a54117eedb81b3fa914
|
7
|
+
data.tar.gz: 3dd139c41bf58c7520fb1f3693a11965e3486c5d2bbdfd04ada3054faf430fcf7e9764192dc5bcf1962cfcf74fc87e50ded0eb406ef11eb4e8850adcc7452697
|
data/lib/minitest/line_plugin.rb
CHANGED
data/test/test_line.rb
CHANGED
@@ -17,6 +17,10 @@ class LineExample < Minitest::Test
|
|
17
17
|
def test_failure
|
18
18
|
flunk
|
19
19
|
end
|
20
|
+
|
21
|
+
def test_skip
|
22
|
+
skip
|
23
|
+
end
|
20
24
|
end
|
21
25
|
|
22
26
|
Minitest::Runnable.runnables.delete(LineExample)
|
@@ -51,6 +55,7 @@ class TestLine < Minitest::Test
|
|
51
55
|
output = run_class LineExample
|
52
56
|
assert_match /Focus on failing tests:/, output
|
53
57
|
assert_match /#{__FILE__} -l 17/, output
|
58
|
+
refute_match /-l 21/, output
|
54
59
|
end
|
55
60
|
|
56
61
|
def test_before
|