diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 18:58:06 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-25 18:58:51 +0100 |
commit | 3d3d921f42f2dc2e23d34c93b7a8a1b1651ce550 (patch) | |
tree | 15169dda59b868ff604bd17371871c244beec7db /testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch | |
parent | 7a820978708d99aa949b663fb12633eea9d58e72 (diff) | |
download | aports-3d3d921f42f2dc2e23d34c93b7a8a1b1651ce550.tar.bz2 aports-3d3d921f42f2dc2e23d34c93b7a8a1b1651ce550.tar.xz |
testing/ruby-mathematical: disable two unstable tests
Diffstat (limited to 'testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch')
-rw-r--r-- | testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch b/testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch new file mode 100644 index 0000000000..29576ed992 --- /dev/null +++ b/testing/ruby-mathematical/disable-test-assert-failing-on-32bit.patch @@ -0,0 +1,17 @@ +Remove assert that fails on 32 bit arch. + +Upstream-Issue: https://github.com/gjtorikian/mathematical/issues/72 +--- a/test/mathematical/maliciousness_test.rb ++++ b/test/mathematical/maliciousness_test.rb +@@ -57,11 +57,6 @@ + output = render.render '$a \ne b$' + assert_equal output[:data], '$a \ne b$' + assert_equal output[:exception].class, Mathematical::MaxsizeError +- +- assert_raises RangeError do +- render = Mathematical.new({ :maxsize => 4_294_967_295 }) # unsigned long max +- render.render('$a \ne b$') +- end + end + + def test_it_does_not_blow_up_on_bad_input |