Skip to content

Commit

Permalink
Correct broken unit test for vector of suffixed numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Feb 24, 2013
1 parent 48f5384 commit fd72b29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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)
{
Expand Down
5 changes: 3 additions & 2 deletions 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])

0 comments on commit fd72b29

Please sign in to comment.