Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove ambiguous regular expression literals in method invocations
  • Loading branch information
deepsource-autofix[bot] authored Feb 27, 2022
commit 54077bcb16756ccf991aeffdd7257b64bf960f3c
2 changes: 1 addition & 1 deletion test/scientist/experiment_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def @ex.raised(op, exception)
@ex.clean { "So Clean" }

err = assert_raises(Scientist::Experiment::MismatchError) { @ex.run }
assert_match /So Clean/, err.message
assert_match(/So Clean/, err.message)
end

it "doesn't raise when there is a mismatch if raise on mismatches is disabled" do
Expand Down