mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 22:11:19 +00:00
Include more info to track down bot failure.
TBR=vsm@google.com Change-Id: I50ae861f99b4c35c37596a6b3372d54cf7942070 Reviewed-on: https://dart-review.googlesource.com/39000 Reviewed-by: Terry Lucas <terry@google.com> Commit-Queue: Terry Lucas <terry@google.com>
This commit is contained in:
parent
f92d1a6a7e
commit
6ac51102a0
|
@ -57,7 +57,7 @@ main() async {
|
|||
entry = await fs.root.getFile('file4');
|
||||
fail("File file4 should not exist.");
|
||||
} catch (error) {
|
||||
expect(true, error is DomException);
|
||||
expect(error is DomException, true, reason: "Not DomException - not exist");
|
||||
expect(DomException.NOT_FOUND, error.name);
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ main() async {
|
|||
var entry = await fileAndDir.dir.getFile(fileAndDir.file.name);
|
||||
fail("file not removed");
|
||||
} catch (error) {
|
||||
expect(true, error is DomException);
|
||||
expect(error is DomException, true, reason: "Not DomException - removed");
|
||||
expect(DomException.NOT_FOUND, error.name);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue