From 365461242211102f88787cf6573d314809e090c8 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Tue, 6 Feb 2024 09:07:07 +0000 Subject: [PATCH] (maint) - update expected error msg for rspec 3.13 --- spec/acceptance/test_unit_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/acceptance/test_unit_spec.rb b/spec/acceptance/test_unit_spec.rb index 97b175dd9..24735a6a7 100644 --- a/spec/acceptance/test_unit_spec.rb +++ b/spec/acceptance/test_unit_spec.rb @@ -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