Skip to content

Commit

Permalink
(maint) - update expected error msg for rspec 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Feb 6, 2024
1 parent 4eb9812 commit 3654612
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/acceptance/test_unit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@

describe command('pdk test unit') do
its(:exit_status) { is_expected.not_to eq(0) }
its(:stdout) { is_expected.to match(/An error occurred while loading.*syntax_spec.rb/) }
its(:stdout) { is_expected.to match(/SyntaxError/) }
its(:stdout) { is_expected.to match(/While loading .*syntax_spec.rb a `raise SyntaxError` occurred/) }
end
end

Expand Down

0 comments on commit 3654612

Please sign in to comment.