Skip to content

Commit

Permalink
fixed Haxe 3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Jun 27, 2020
1 parent ae78adb commit e7f7d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/checkstyle/checks/type/VarTypeHintCheckTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class VarTypeHintCheckTest extends CheckTestCase<VarTypeHintCheckTests> {
}];
assertMessages(check, MODULE_LEVEL_VARS, messages);
assertMessages(check, MODULE_LEVEL_FINALS, messages);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
#end

assertNoMsg(check, ENUM);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
assertMessages(check, INTERFACE, ['"test0" should have a type hint']);
}

Expand Down Expand Up @@ -63,9 +63,9 @@ class VarTypeHintCheckTest extends CheckTestCase<VarTypeHintCheckTests> {
];
assertMessages(check, MODULE_LEVEL_VARS, messages);
assertMessages(check, MODULE_LEVEL_FINALS, messages);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
#end
assertNoMsg(check, ENUM);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
assertMessages(check, INTERFACE, ['"test0" should have a type hint']);
}

Expand Down Expand Up @@ -97,9 +97,9 @@ class VarTypeHintCheckTest extends CheckTestCase<VarTypeHintCheckTests> {
];
assertMessages(check, MODULE_LEVEL_VARS, messages);
assertMessages(check, MODULE_LEVEL_FINALS, messages);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
#end
assertNoMsg(check, ENUM);
assertMessages(check, TYPEDEF, ['"test0" should have a type hint', '"test1" should have a type hint']);
assertMessages(check, INTERFACE, ['"test0" should have a type hint']);
}

Expand Down

0 comments on commit e7f7d5f

Please sign in to comment.