Skip to content

Commit dadce08

Browse files
authored
Fixes #1706. Fix typos in map pattern tests (#1732)
1 parent 62361c9 commit dadce08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LanguageFeatures/Patterns/map_A06_t01.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void test2(Map map) {
5858
}
5959
}
6060

61-
String test3(Map map) {
61+
void test3(Map map) {
6262
if (map case {1: _, 2: _, ..., ...}) {
6363
// ^^^
6464
// [analyzer] unspecified

LanguageFeatures/Patterns/map_A07_t01.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void test2(Map map) {
5858
}
5959
}
6060

61-
String test3(Map map) {
61+
void test3(Map map) {
6262
if (map case {1: _, 2: _, ..., 3: _}) {
6363
// ^^^
6464
// [analyzer] unspecified

0 commit comments

Comments
 (0)