mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
17 lines
594 B
Diff
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
|