Skip to content

Commit

Permalink
Fix for failing test on changed message of timeout error
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsSteensma committed Mar 17, 2024
1 parent 97460a3 commit 2b363ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/PDF_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end

it 'raises timeout exceeded using very small value' do
expect { Dhalang::PDF.get_from_url("https://www.google.com", { printToPDFTimeout: 1 }) }.to raise_error(DhalangError, "waiting for Page.printToPDF failed: timeout 1ms exceeded")
expect { Dhalang::PDF.get_from_url("https://www.google.com", { printToPDFTimeout: 1 }) }.to raise_error(DhalangError, "Timed out after waiting 1ms")
end

it 'raises DhalangError on unknown domain' do
Expand Down

0 comments on commit 2b363ce

Please sign in to comment.