Skip to content

Commit

Permalink
Merge pull request #1315 from puppetlabs/maint-fix_nightlies
Browse files Browse the repository at this point in the history
(maint) - Update expected error message for test case (RSpec 3.13.0)
  • Loading branch information
LukasAud authored Feb 6, 2024
2 parents 4eb9812 + 3654612 commit fed1c55
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 fed1c55

Please sign in to comment.