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:
n7484443
2024-07-19 08:23:05 +09:00
committed by GitHub
parent 978657becd
commit 665d9e6e86
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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);