From 97d0da31f2eb0d5c4d2714f0a8212916df46062d Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Fri, 3 Nov 2023 16:22:25 -0700 Subject: [PATCH] Typo --- test/codepage_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/codepage_test.dart b/test/codepage_test.dart index e729dc0..fcc2830 100644 --- a/test/codepage_test.dart +++ b/test/codepage_test.dart @@ -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}'); });