Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
dartfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 25, 2017
1 parent 4aae651 commit 4721de8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/bazel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ void main() {
test('should throw if target is in unknown package', () {
var target = Uri.parse('flob/flub/quux.proto');
var source = Uri.parse('foo/bar/baz.proto');
expect(
() => config.resolveImport(target, source, '.pb.dart'),
expect(() => config.resolveImport(target, source, '.pb.dart'),
throwsA(startsWith('ERROR: cannot generate import for')));
});
});
Expand Down

0 comments on commit 4721de8

Please sign in to comment.