Skip to content

Commit

Permalink
test: NFKD or not, the word is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
ethicnology committed Jul 10, 2022
1 parent c1a192b commit 6955c16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/language_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ void main() {
});

// https://github.com/flutter/flutter/issues/104927#issuecomment-1141319254
test('check if word is NFKD, no', () {
expect(Language.french.isValid('échelle'), false); // non NFKD
test('non NFKD formatted', () {
expect(Language.french.isValid('échelle'), true); // non NFKD
});

test('check if word is NFKD, yes', () {
test('NFKD formatted', () {
expect(Language.french.isValid('échelle'), true); // NFKD
});
});
Expand Down

0 comments on commit 6955c16

Please sign in to comment.