chore: fix test name & add description of tests (#151959)
https://github.com/flutter/flutter/pull/151364 I realized I made a mistake with my PR. There are two missed description about test, one wrong test name. So I correted that tests.
This commit is contained in:
@@ -240,6 +240,7 @@ void main() {
|
||||
expect(localizations.lookUpButtonLabel, '查询');
|
||||
});
|
||||
|
||||
// Regression test for https://github.com/flutter/flutter/pull/151364
|
||||
testWidgets('ko-KR translation for cut, copy, paste label in ButtonLabel', (WidgetTester tester) async {
|
||||
const Locale locale = Locale('ko');
|
||||
expect(GlobalCupertinoLocalizations.delegate.isSupported(locale), isTrue);
|
||||
|
||||
@@ -560,7 +560,8 @@ void main() {
|
||||
expect(localizations.lookUpButtonLabel, '查询');
|
||||
});
|
||||
|
||||
testWidgets('zh-CN translation for look up label', (WidgetTester tester) async {
|
||||
// Regression test for https://github.com/flutter/flutter/pull/151364
|
||||
testWidgets('ko-KR translation for cut, copy, paste label in ButtonLabel', (WidgetTester tester) async {
|
||||
const Locale locale = Locale('ko');
|
||||
expect(GlobalCupertinoLocalizations.delegate.isSupported(locale), isTrue);
|
||||
final MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(locale);
|
||||
|
||||
Reference in New Issue
Block a user