Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct broken unit test for vector of suffixed numbers

  • Loading branch information...
commit fd72b2951a8a5a1c1e419bf354fa3f396aa87418 1 parent 48f5384
@lefticus lefticus authored
View
2  contrib/codeanalysis/heterogenous_array_loop.chai
@@ -1,5 +1,5 @@
-var my_array=["1", 4, 6.6, 10, "1000", 100, 10.9 ];
+var my_array=["1", 4, 6.6l, 10ul, "1000", 100, 10.9f ];
for (var j = 0; j < 10000; ++j)
{
View
5 unittests/vector_of_suffixed_numbers.chai
@@ -1,2 +1,3 @@
-var x = [1, 2u]
-assert_equal(2u, x[0])
+var x = [1, 2u, 3.0l]
+assert_equal(3.0l, x[2])
+assert_equal(2u, x[1])
Please sign in to comment.
Something went wrong with that request. Please try again.