Skip to content

Commit

Permalink
catch a code coverage case
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-r-warren committed May 13, 2019
1 parent 645dc4f commit 76c758f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/name_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ main() {
].map(parser.parse);
expect(samples, everyElement(equals(target)));
});

test('puts suffixes as the family if that\'s all we have', () {
expect(NameParser.basic().parse('I II III').family, 'I II III');
});
});
});

Expand Down

0 comments on commit 76c758f

Please sign in to comment.