Changeset 44564


Ignore:
Timestamp:
Apr 19, 2008, 12:23:19 AM (10 years ago)
Author:
Hartmut Kaiser
Message:

Spirit.Qi: Fixed a big endian issue in tests/qi/binary.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/spirit/test/qi/binary.cpp

    r44360 r44564  
    6161#endif
    6262#else
    63         BOOST_TEST(test("\x01", 1, byte(0x01)));
    64         BOOST_TEST(test("\x01\x02", 2, word(0x0102)));
    65         BOOST_TEST(test("\x01\x02\x03\x04", 4, dword(0x01020304)));
     63        BOOST_TEST(test("\x01", byte(0x01)));
     64        BOOST_TEST(test("\x01\x02", word(0x0102)));
     65        BOOST_TEST(test("\x01\x02\x03\x04", dword(0x01020304)));
    6666#ifdef BOOST_HAS_LONG_LONG
    67         BOOST_TEST(test("\x01\x02\x03\x04\x05\x06\x07\x08", 8,
     67        BOOST_TEST(test("\x01\x02\x03\x04\x05\x06\x07\x08",
    6868            qword(0x0102030405060708LL)));
    6969#endif
Note: See TracChangeset for help on using the changeset viewer.