mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-08-01 03:14:27 +02:00
Nil packing and unpacking fix
This commit is contained in:
@@ -68,6 +68,7 @@ void QtTypesTest::test_qtime()
|
||||
QByteArray packed = MsgPack::pack(t);
|
||||
QTime t2 = MsgPack::unpack(packed).toTime();
|
||||
QVERIFY(t == t2);
|
||||
qDebug() << packed.toHex();
|
||||
QVERIFY(packed.size() == 3);
|
||||
|
||||
t = QTime(12, 01, 01, 0);
|
||||
|
Reference in New Issue
Block a user