diff --git a/tests/coverage/TestCoverage.hx b/tests/coverage/TestCoverage.hx index 5fb0f72..d83df1d 100644 --- a/tests/coverage/TestCoverage.hx +++ b/tests/coverage/TestCoverage.hx @@ -77,8 +77,8 @@ class TestCoverage implements ITest { function runTestee(testeeClass:String) { var params:Array = [ - "haxe", "-cp", "src", "-cp", "tests", "-D", "custom-end-instrument", "-D", "test-class=" + testeeClass, "--macro", - 'instrument.Instrumentation.coverage(["$testeeClass"],["tests"],[])', "-main", "coverage.testee.CoverageTestMain", "--run", + "haxe", "-cp", "src", "-cp", "tests", "-D", "test-class=" + testeeClass, "--macro", + 'instrument.Instrumentation.coverage([\'$testeeClass\'],["tests"],[])', "-main", "coverage.testee.CoverageTestMain", "--run", "coverage.testee.CoverageTestMain" ];