From 3a855ac97f0bbf538b4013c16ce7d113d494ee5b Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 11 Nov 2021 18:41:59 +0800 Subject: [PATCH] Fix unit test --- tests/cpp-tests/Classes/UnitTest/UnitTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp-tests/Classes/UnitTest/UnitTest.cpp b/tests/cpp-tests/Classes/UnitTest/UnitTest.cpp index da49663ccc..0e81d9ba3c 100644 --- a/tests/cpp-tests/Classes/UnitTest/UnitTest.cpp +++ b/tests/cpp-tests/Classes/UnitTest/UnitTest.cpp @@ -594,7 +594,7 @@ void ValueTest::onEnter() unsigned char byte = 50; Value v5(byte); - CCASSERT(v5.getType() == Value::Type::BYTE, "v5's value type should be Value::Type::BTYE."); + CCASSERT(v5.getType() == Value::Type::INT_UI32, "v5's value type should be Value::Type::BTYE."); CCASSERT(!v5.isNull(), "v5 is not null."); Value v6(true);