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 5c404e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ group :test do
gem 'parallel'
gem 'parallel_tests'
gem 'rake'
gem 'rspec', '~> 3.0'
gem 'rspec', '~> 3.12.0'
gem 'rubocop', '~> 1.50.0', require: false
gem 'rubocop-performance', '~> 1.16', require: false
gem 'rubocop-rspec', '~> 2.19', require: false
Expand Down
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 5c404e9

Please sign in to comment.