Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Nov 3, 2023
1 parent c88fb2b commit 97d0da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/codepage_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ void main() {
expect(cp.decode([1, 0, 3, 2, 0, 5, 4]), 'BADCAFE');
});

test('undecode byte', () {
test('undecodable byte', () {
expect(() => cp.decode([6, 1, 255]), throwsFormatException);
});

test('undecode byte with allowInvalid', () {
test('undecodable byte with allowInvalid', () {
expect(cp.decode([6, 1, 255], allowInvalid: true), '\u{FFFD}B\u{FFFD}');
});

Expand Down

0 comments on commit 97d0da3

Please sign in to comment.