| Index: tests/standalone/io/network_interface_test.dart
|
| diff --git a/tests/standalone/io/network_interface_test.dart b/tests/standalone/io/network_interface_test.dart
|
| index ee6a25e9f9d7b092488b5b1f84f2368d13ff6f25..2d49ce01643ee9c2267c61ac3528b07bfd96e716 100644
|
| --- a/tests/standalone/io/network_interface_test.dart
|
| +++ b/tests/standalone/io/network_interface_test.dart
|
| @@ -33,7 +33,21 @@ void testListLinkLocal() {
|
| }
|
|
|
|
|
| +void testListIndex() {
|
| + var set = new Set();
|
| + NetworkInterface.list(includeLoopback: true).then((list) {
|
| + for (var i in list) {
|
| + Expect.isNotNull(i.index);
|
| + Expect.isFalse(set.contains(i.index));
|
| + set.add(i.index);
|
| + Expect.isTrue(set.contains(i.index));
|
| + }
|
| + });
|
| +}
|
| +
|
| +
|
| void main() {
|
| testListLoopback();
|
| testListLinkLocal();
|
| + testListIndex();
|
| }
|
|
|