Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit f4c0fea

Browse files
committed
Fix cukes.
The output formatting changed in rspec/rspec-core#2083, but we didn’t realize it broke the cukes here.
1 parent 48adc88 commit f4c0fea

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

features/built_in_matchers/comparisons.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,36 +39,42 @@ Feature: Comparison matchers
3939
And the output should contain:
4040
"""
4141
Failure/Error: it { is_expected.to be < 15 }
42+
4243
expected: < 15
4344
got: 18
4445
"""
4546
And the output should contain:
4647
"""
4748
Failure/Error: it { is_expected.to be > 20 }
49+
4850
expected: > 20
4951
got: 18
5052
"""
5153
And the output should contain:
5254
"""
5355
Failure/Error: it { is_expected.to be <= 17 }
56+
5457
expected: <= 17
5558
got: 18
5659
"""
5760
And the output should contain:
5861
"""
5962
Failure/Error: it { is_expected.to be >= 19 }
63+
6064
expected: >= 19
6165
got: 18
6266
"""
6367
And the output should contain:
6468
"""
6569
Failure/Error: it { is_expected.to be < 'a' }
70+
6671
expected: < "a"
6772
got: 18
6873
"""
6974
And the output should contain:
7075
"""
7176
Failure/Error: it { is_expected.to be < 18 }
77+
7278
expected: < 18
7379
got: "a"
7480
"""
@@ -95,24 +101,28 @@ Feature: Comparison matchers
95101
And the output should contain:
96102
"""
97103
Failure/Error: it { is_expected.to be < "Cranberry" }
104+
98105
expected: < "Cranberry"
99106
got: "Strawberry"
100107
"""
101108
And the output should contain:
102109
"""
103110
Failure/Error: it { is_expected.to be > "Zuchini" }
111+
104112
expected: > "Zuchini"
105113
got: "Strawberry"
106114
"""
107115
And the output should contain:
108116
"""
109117
Failure/Error: it { is_expected.to be <= "Potato" }
118+
110119
expected: <= "Potato"
111120
got: "Strawberry"
112121
"""
113122
And the output should contain:
114123
"""
115124
Failure/Error: it { is_expected.to be >= "Tomato" }
125+
116126
expected: >= "Tomato"
117127
got: "Strawberry"
118128
"""

features/built_in_matchers/contain_exactly.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Feature: `contain_exactly` matcher
3838
And the output should contain:
3939
"""
4040
Failure/Error: it { is_expected.to contain_exactly(1, 2, 1) }
41+
4142
expected collection contained: [1, 1, 2]
4243
actual collection contained: [1, 2, 3]
4344
the missing elements were: [1]

0 commit comments

Comments
 (0)