| Index: runtime/vm/dart_api_impl_test.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl_test.cc (revision 21661)
|
| +++ runtime/vm/dart_api_impl_test.cc (working copy)
|
| @@ -981,14 +981,14 @@
|
| " var a = createExternalByteData();"
|
| " Expect.equals(length, a.lengthInBytes);"
|
| " for (int i = 0; i < length; i+=2) {"
|
| - " Expect.equals(0x4241, a.getInt16(i));"
|
| + " Expect.equals(0x4241, a.getInt16(i, Endianness.LITTLE_ENDIAN));"
|
| " }"
|
| " for (int i = 0; i < length; i+=2) {"
|
| " a.setInt8(i, 0x24);"
|
| " a.setInt8(i + 1, 0x28);"
|
| " }"
|
| " for (int i = 0; i < length; i+=2) {"
|
| - " Expect.equals(0x2824, a.getInt16(i));"
|
| + " Expect.equals(0x2824, a.getInt16(i, Endianness.LITTLE_ENDIAN));"
|
| " }"
|
| " return a;"
|
| "}\n";
|
|
|