Commit 33326cb4 authored by John Zhang's avatar John Zhang

mistake in test value

parent c334ea50
...@@ -24,8 +24,8 @@ def test_getfieldiref(): ...@@ -24,8 +24,8 @@ def test_getfieldiref():
restype=ctypes.c_uint32) restype=ctypes.c_uint32)
stt = Stt() stt = Stt()
stt.ui8 = 25 stt.ui8 = 25
stt.ui64 = 0xabcdef01234567890 stt.ui64 = 0xabcdef0123456789
stt.ui32 = 0xcaffebabe stt.ui32 = 0xcafebabe
res = fn(ctypes.byref(stt)) res = fn(ctypes.byref(stt))
assert res == 0xcaffebabe, "result: %s" % hex(res) assert res == 0xcafebabe, "result: %s" % hex(res)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment