| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library echo_apptests; | 5 library echo_apptests; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:mojo_apptest/apptest.dart'; | 9 import 'package:mojo_apptest/apptest.dart'; |
| 10 import 'package:mojo/application.dart'; | 10 import 'package:mojo/application.dart'; |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 .then((_) { | 215 .then((_) { |
| 216 fail('This should be unreachable'); | 216 fail('This should be unreachable'); |
| 217 }, onError: (e) { | 217 }, onError: (e) { |
| 218 expect(e is ProxyError, isTrue); | 218 expect(e is ProxyError, isTrue); |
| 219 }); | 219 }); |
| 220 | 220 |
| 221 return Future.wait([f1, f2]); | 221 return Future.wait([f1, f2]); |
| 222 }); | 222 }); |
| 223 }); | 223 }); |
| 224 } | 224 } |
| OLD | NEW |