aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-mathematical/disable-test-assert-failing-on-32bit.patch
blob: 29576ed992ff4eb937dd098dd68ec69273f226d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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