Fix tests for 4.3 and make use of getConfiguration.

This commit is contained in:
Juraj Kirchheim
2023-04-06 06:41:28 +00:00
parent c400f5af51
commit 2471637905
5 changed files with 22 additions and 15 deletions

View File

@@ -6,8 +6,6 @@ import haxe.macro.Expr;
using tink.MacroApi;
class Positions extends Base {
function stringCompare<A>(v1:A, v2:A)
assertEquals(Std.string(v1), Std.string(v2));
function testSanitize() {
var p:Position = null;
@@ -19,6 +17,6 @@ class Positions extends Base {
function testBlank() {
var p:Position = null;
var t = p.makeBlankType();
stringCompare('TMono(<mono>)', cast t.toType().sure());
stringCompare('TMono(<mono>)', cast t.toType().sure().reduce());
}
}