Skip to content

Commit

Permalink
[tests] update disabled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jul 12, 2023
1 parent 9b1dd5a commit 8207acb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
15 changes: 7 additions & 8 deletions tests/unit/src/unit/TestMain.hx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ function main() {
new TestMeta(),
new TestType(),
new TestOrder(),
// new TestGADT(), // hxb: Unbound type parameter EBinop.C
// new TestGeneric(),
// new TestGADT(), // Cannot resolve type unit.TestGADT.Enum<unit.Expr>
new TestGeneric(),
new TestArrowFunctions(),
new TestCasts(),
new TestSyntaxModule(),
Expand All @@ -80,9 +80,9 @@ function main() {
new TestHashMap(),
new TestRest(),
new TestHttp(),
// #if !no_pattern_matching
// new TestMatch(), // hxb: Unbound type parameter ref.T
// #end
#if !no_pattern_matching
// new TestMatch(), // Cannot resolve type unit.TestMatch.Enum<unit.A>
#end
#if cs
new TestCSharp(),
#end
Expand Down Expand Up @@ -116,15 +116,14 @@ function main() {
new TestFieldVariance(),
new TestConstrainedMonomorphs(),
new TestDefaultTypeParameters(),
// new TestUnspecified(),
// new TestUnspecified(), // testMonoAdd: FAILURE FF
];

// TODO: fails to load those from hxb
for (specClass in unit.UnitBuilder.generateSpec("src/unitstd")) {
classes.push(specClass);
}
TestIssues.addIssueClasses("src/unit/issues", "unit.issues");
// TestIssues.addIssueClasses("src/unit/hxcpp_issues", "unit.hxcpp_issues");
TestIssues.addIssueClasses("src/unit/hxcpp_issues", "unit.hxcpp_issues");

var runner = new Runner();
for (c in classes) {
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/src/unit/spec/TestSpecification.hx
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ class ClassWithCtorDefaultValuesChild extends ClassWithCtorDefaultValues {
}
}

// enum SomeEnum<T> {
// NoArguments;
// OneArgument(t:T);
// }
enum SomeEnum<T> {
NoArguments;
OneArgument(t:T);
}

class IntWrap {
public var i(default, null):Int;
Expand Down

0 comments on commit 8207acb

Please sign in to comment.