Skip to content

Commit

Permalink
Convert unit tests to Haxe 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
aduros committed Mar 11, 2013
1 parent b984a15 commit 127192f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/src/ConfigTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import haxe.unit.TestCase;
import flambe.util.Config;
import flambe.util.MessageBundle;

using flambe.util.Hashes;
using flambe.util.Maps;

class ConfigTest extends TestCase
{
Expand Down
4 changes: 1 addition & 3 deletions tests/src/TestMain.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
// Flambe - Rapid game development
// https://github.com/aduros/flambe/blob/master/LICENSE.txt

import haxe.Firebug;
import haxe.unit.TestRunner;

class TestMain
{
public static function main ()
{
// Redirect prints/traces to console.log
TestRunner.print = cast Firebug.trace;
TestRunner.print = untyped console.log;

var runner = new TestRunner();

Expand Down

0 comments on commit 127192f

Please sign in to comment.