| 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 io_internet_address_apptests; | 5 library io_internet_address_apptests; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 | 9 |
| 10 import 'package:mojo_apptest/apptest.dart'; | 10 import 'package:mojo_apptest/apptest.dart'; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // Not hit. | 58 // Not hit. |
| 59 expect(true, isFalse); | 59 expect(true, isFalse); |
| 60 } on OSError catch(e) { | 60 } on OSError catch(e) { |
| 61 exceptionCaught = true; | 61 exceptionCaught = true; |
| 62 expect(e.errorCode, isNot(equals(0))); | 62 expect(e.errorCode, isNot(equals(0))); |
| 63 } | 63 } |
| 64 expect(exceptionCaught, isTrue); | 64 expect(exceptionCaught, isTrue); |
| 65 }); | 65 }); |
| 66 }); | 66 }); |
| 67 } | 67 } |
| OLD | NEW |