Browse Source

don't test the same thing twice

Simon Krajewski 10 years ago
parent
commit
fb60342669
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/unit/src/unit/TestResource.hx

+ 2 - 1
tests/unit/src/unit/TestResource.hx

@@ -8,7 +8,8 @@ class TestResource extends Test {
 		var names = haxe.Resource.listNames();
 		eq( names.length, 2 );
 		if( names[0] == "re/s?!%[]))(\"'1.txt" ) {
-			eq( names[1], "re/s?!%[]))(\"'1.bin" );
+			 // redundant, but let's avoid different test numbers
+			eq( names[0], "re/s?!%[]))(\"'1.txt" );
 			eq( names[1], "re/s?!%[]))(\"'1.bin" );
 		} else {
 			eq( names[0], "re/s?!%[]))(\"'1.bin" );