Skip to content

Commit

Permalink
compare locales
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Apr 10, 2024
1 parent 34b8196 commit 823cb77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ffi/dart/test/icu_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ void main() {
fallbackSupplement: LocaleFallbackSupplement.none))
.fallbackForLocale(Locale.fromString('de-CH-u-ca-japanese'));
expect(iterator.moveNext(), true);
expect(iterator.current.toString(), 'de-CH-u-ca-japanese');
expect(iterator.current, Locale.fromString('de-CH-u-ca-japanese'));
expect(iterator.moveNext(), true);
expect(iterator.current.toString(), 'de-CH');
expect(iterator.current, Locale.fromString('de-CH'));
expect(iterator.moveNext(), true);
expect(iterator.current.toString(), 'und-CH-u-ca-japanese');
expect(iterator.current, Locale.fromString('und-CH-u-ca-japanese'));
expect(iterator.moveNext(), true);
expect(iterator.current.toString(), 'und-CH');
expect(iterator.current, Locale.fromString('und-CH'));
expect(iterator.moveNext(), false);
});

Expand Down

0 comments on commit 823cb77

Please sign in to comment.