Skip to content

Commit f19d88b

Browse files
committed
Small fix to avoid unnecessary strictness in comparison
1 parent 23e9993 commit f19d88b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/step_definitions/rubycritic_steps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
end
2222

2323
Then(/^it reports the current version$/) do
24-
expect(last_command_started).to have_output("RubyCritic #{RubyCritic::VERSION}\n")
24+
expect(last_command_started).to have_output(an_output_string_including("RubyCritic #{RubyCritic::VERSION}"))
2525
end
2626

2727
Then(/^it reports the error ['"](.*)['"]$/) do |string|

0 commit comments

Comments
 (0)