|
@@ -42,7 +42,7 @@ class TestCase #if mt_build implements mt.Protect #end {
|
|
|
|
|
|
function assertTrue( b:Bool, ?c : PosInfos ) : Void {
|
|
function assertTrue( b:Bool, ?c : PosInfos ) : Void {
|
|
currentTest.done = true;
|
|
currentTest.done = true;
|
|
- if (b == false){
|
|
|
|
|
|
+ if (b != true){
|
|
currentTest.success = false;
|
|
currentTest.success = false;
|
|
currentTest.error = "expected true but was false";
|
|
currentTest.error = "expected true but was false";
|
|
currentTest.posInfos = c;
|
|
currentTest.posInfos = c;
|