Chromium Code Reviews| Index: tests/isolate/message3_test.dart |
| diff --git a/tests/isolate/message3_test.dart b/tests/isolate/message3_test.dart |
| index 4267cee9be3c65e35bcdaa3c4b81bb4c5b9c1e68..97f1e9d5338ef231fbc89d59364fb14269175776 100644 |
| --- a/tests/isolate/message3_test.dart |
| +++ b/tests/isolate/message3_test.dart |
| @@ -173,7 +173,7 @@ void runTests(SendPort ping, Queue checks) { |
| uint16[1] = 1; |
| ByteBuffer byteBuffer = uint16.buffer; |
| ping.send(byteBuffer); /// byteBuffer: ok |
|
sra1
2017/03/21 01:43:48
//
|
| - checks.add( /// byteBuffer: ok |
| + checks.add( // /// byteBuffer: ok |
| (x) { |
| Expect.isTrue(x is ByteBuffer); |
| Uint16List uint16View = new Uint16List.view(x); |
| @@ -181,14 +181,14 @@ void runTests(SendPort ping, Queue checks) { |
| Expect.equals(0, uint16View[0]); |
| Expect.equals(1, uint16View[1]); |
| } |
| - ) /// byteBuffer: ok |
| + ) // /// byteBuffer: ok |
| ; |
| Int32x4List list32x4 = new Int32x4List(2); |
| list32x4[0] = new Int32x4(1, 2, 3, 4); |
| list32x4[1] = new Int32x4(5, 6, 7, 8); |
| ping.send(list32x4); /// int32x4: ok |
| - checks.add( /// int32x4: ok |
| + checks.add( // /// int32x4: ok |
| (x) { |
| Expect.isTrue(x is Int32x4List); |
| Expect.equals(2, x.length); |
| @@ -203,7 +203,7 @@ void runTests(SendPort ping, Queue checks) { |
| Expect.equals(7, entry2.z); |
| Expect.equals(8, entry2.w); |
| } |
| - ) /// int32x4: ok |
| + ) // /// int32x4: ok |
| ; |
| ping.send({"foo": 499, "bar": 32}); |
| @@ -353,16 +353,16 @@ void runTests(SendPort ping, Queue checks) { |
| }); |
| ping.send(new E(E.fooFun)); /// fun: ok |
| - checks.add((x) { /// fun: continued |
| + checks.add((x) { // /// fun: continued |
| Expect.equals(E.fooFun, x.fun); /// fun: continued |
| - Expect.equals(499, x.fun()); /// fun: continued |
| - }); /// fun: continued |
| + Expect.equals(499, x.fun()); // /// fun: continued |
| + }); // /// fun: continued |
| ping.send(new E(barFun)); /// fun: continued |
| - checks.add((x) { /// fun: continued |
| + checks.add((x) { // /// fun: continued |
| Expect.equals(barFun, x.fun); /// fun: continued |
| - Expect.equals(42, x.fun()); /// fun: continued |
| - }); /// fun: continued |
| + Expect.equals(42, x.fun()); // /// fun: continued |
| + }); // /// fun: continued |
| Expect.throws(() => ping.send(new E(new E(null).instanceFun))); |