| Index: tests/standalone/io/link_test.dart
|
| diff --git a/tests/standalone/io/link_test.dart b/tests/standalone/io/link_test.dart
|
| index 0562cb3bb61e93d42cf5f75c44f948e310d7cb27..7bef4c55641f77018c4ea7c8b6a89645d3cf386a 100644
|
| --- a/tests/standalone/io/link_test.dart
|
| +++ b/tests/standalone/io/link_test.dart
|
| @@ -173,7 +173,15 @@ testCreateLoopingLink() {
|
| new Directory.fromPath(base).delete(recursive: true));
|
| }
|
|
|
| +void testLinkErrorSync() {
|
| + Expect.throws(() =>
|
| + new Link('some-dir-that-doent exist/some link file/bla/fisk').createSync(
|
| + 'bla bla bla/b lalal/blfir/sdfred/es'),
|
| + (e) => e is LinkException);
|
| +}
|
| +
|
| main() {
|
| testCreateSync();
|
| testCreateLoopingLink();
|
| + testLinkErrorSync();
|
| }
|
|
|