Fix unit test

This commit is contained in:
halx99 2021-11-11 18:41:59 +08:00
parent 0016ea2b62
commit 3a855ac97f
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ void ValueTest::onEnter()
unsigned char byte = 50; unsigned char byte = 50;
Value v5(byte); 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."); CCASSERT(!v5.isNull(), "v5 is not null.");
Value v6(true); Value v6(true);