From e7f7d5fc870ef5b04b1ada3cb9510f17105b8522 Mon Sep 17 00:00:00 2001 From: AlexHaxe Date: Sat, 27 Jun 2020 23:10:08 +0200 Subject: [PATCH] fixed Haxe 3 tests --- test/checkstyle/checks/type/VarTypeHintCheckTest.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/checkstyle/checks/type/VarTypeHintCheckTest.hx b/test/checkstyle/checks/type/VarTypeHintCheckTest.hx index 915bde8a..d12a36f7 100644 --- a/test/checkstyle/checks/type/VarTypeHintCheckTest.hx +++ b/test/checkstyle/checks/type/VarTypeHintCheckTest.hx @@ -25,10 +25,10 @@ class VarTypeHintCheckTest extends CheckTestCase { }]; 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']); } @@ -63,9 +63,9 @@ class VarTypeHintCheckTest extends CheckTestCase { ]; 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']); } @@ -97,9 +97,9 @@ class VarTypeHintCheckTest extends CheckTestCase { ]; 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']); }