ttytest2 0.7.0 → 0.7.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/.gitignore +1 -0
- data/lib/ttytest/matchers.rb +0 -2
- data/lib/ttytest/version.rb +1 -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: b9eaa16f80b9604b9b174e0e7cba8fe5552c453d928d7f543dbf0d1498726516
|
4
|
+
data.tar.gz: a8b0cad547df8948c71951817ad7c9fbaa74a8d1a17e7e0bf61c94911c4a6d13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b64fa53f510b203ea188a715e76ea524564dab12e5718d3c93e57c2182d8a192c263511492667703a155e3b8b8d68293ffa8ab835f606117b603696c92e0159
|
7
|
+
data.tar.gz: 1f16083d91f27ccc16064a5d23bff87e03b18b5185ce206ad3efe8efeec0e1b0c6a32d947b4078f49b929c31e4be13f311bd6fd3dacf8af7e03bdf86e7873d5f
|
data/.gitignore
CHANGED
data/lib/ttytest/matchers.rb
CHANGED
@@ -18,8 +18,6 @@ module TTYtest
|
|
18
18
|
# @param [String] expected the expected value of the row. Any trailing whitespace is ignored
|
19
19
|
# @raise [MatchError] if the row doesn't match
|
20
20
|
def assert_row_like(row_number, expected)
|
21
|
-
raise MatchError, "expected a value for 'expected' but recieved nil" if actual.nil?
|
22
|
-
|
23
21
|
expected = expected.rstrip
|
24
22
|
actual = row(row_number)
|
25
23
|
return if actual.include?(expected)
|
data/lib/ttytest/version.rb
CHANGED