We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4d341e commit 75ae765Copy full SHA for 75ae765
spec/temml_spec.rb
@@ -26,5 +26,7 @@
26
it 'throw exception on error (or not)' do
27
expect { Temml.render('e^{i\pi') }.to raise_error(ExecJS::ProgramError)
28
expect { Temml.render('e^{i\pi', throwOnError: false) }.not_to raise_error
29
+ expect { Temml.render('\UnsupportedFunctionNameLikeThat') }.to raise_error(ExecJS::ProgramError)
30
+ expect { Temml.render('\UnsupportedFunctionNameLikeThat', throwOnError: false) }.not_to raise_error
31
end
32
0 commit comments