Browse Source

Restore Log.trace early errors can be seen

Hugh Sanderson 7 years ago
parent
commit
20533c847d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/unit/src/unitstd/haxe/Log.unit.hx

+ 2 - 1
tests/unit/src/unitstd/haxe/Log.unit.hx

@@ -6,9 +6,10 @@ haxe.Log.trace = function(v, ?i) {
 	p = i;
 }
 trace("test trace");
+haxe.Log.trace = old;
 s == "test trace";
 p.fileName == "Log.unit.hx";
 p.lineNumber == 8;
 haxe.Log.trace = null;
 exc(function() trace("exc test"));
-haxe.Log.trace = old;
+haxe.Log.trace = old;