Skip to content

Commit

Permalink
test: fix broken test case due to change in JSON parse error message
Browse files Browse the repository at this point in the history
Refs: ARC-9911
  • Loading branch information
bajankristof committed Feb 10, 2025
1 parent 62f280f commit 1b3cdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ffmpeg/media_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module FFMPEG
before { allow(FFMPEG).to receive(:ffprobe_capture3).and_return([stdout, '', nil]) }

it 'raises an error' do
expect { subject.load! }.to raise_error(described_class::LoadError, /\bunexpected token\b/i)
expect { subject.load! }.to raise_error(described_class::LoadError, /\bunexpected (character|token)\b/i)
end
end

Expand Down

0 comments on commit 1b3cdb8

Please sign in to comment.