Permalink
Browse files

minor unit test fix for when --no-opt is not in place

git-svn-id: http://haxe.googlecode.com/svn/trunk@4651 f16182fa-f095-11de-8f43-4547254af6c6
  • Loading branch information...
simon.krajewski@simn.de
simon.krajewski@simn.de committed May 15, 2012
1 parent da137c6 commit 6f7457ae7c565bc44520e0d3adbf8bb98f4b23cc
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/TestIO.hx
View
@@ -62,7 +62,8 @@ class TestIO extends Test {
#if !neko
// in neko, we can't represent invalid 31 bits integers anyway
excv(function() o.writeInt31(1 << 30),Overflow);
- excv(function() o.writeInt31(-((1 << 30) + 1)),Overflow);
+ excv(function() o.writeInt31( -((1 << 30) + 1)), Overflow);
+ excv(function() o.writeUInt30(0x40 << 24),Overflow);
#end
o.writeInt8(-5);
excv(function() o.writeInt8(128),Overflow);
@@ -75,7 +76,6 @@ class TestIO extends Test {
excv(function() o.writeUInt24(-1),Overflow);
o.writeUInt30(0x3FAABBCC);
excv(function() o.writeUInt30(-1),Overflow);
- excv(function() o.writeUInt30(0x40 << 24),Overflow);
o.writeInt32(haxe.Int32.make(0xA0FF,0xEEDD));
o.writeInt32(haxe.Int32.make(0xC0FF,0xEEDD));

0 comments on commit 6f7457a

Please sign in to comment.