1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/ruby-mathematical/disable-test-assert-failing-on-32bit.patch
2017-03-29 00:42:51 +02:00

17 lines
594 B
Diff

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