Skip to content

Commit

Permalink
Remove expectation for warning message in %require tests to streamlin…
Browse files Browse the repository at this point in the history
…e validation
  • Loading branch information
ydah committed Feb 15, 2025
1 parent 9a07a5d commit 850d224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lrama/warnings/required_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
logger = Lrama::Logger.new
allow(logger).to receive(:warn)
Lrama::Warnings.new(logger, false).warn(grammar, states)
expect(logger).not_to have_received(:warn).with("currently, %require is simply valid as a grammar but does nothing")
expect(logger).not_to have_received(:warn)
end
end
end
Expand Down

0 comments on commit 850d224

Please # to comment.