-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bad-testReport tests in need of updates. When closed, the tests should be considered goodReport tests in need of updates. When closed, the tests should be considered good
Description
In a patterns test a name of the pattern variable b
doesn't match the name a
of the variable used in the body after the match.
co19/LanguageFeatures/Patterns/variable_A02_t05.dart
Lines 37 to 39 in 74cb5e7
case ({1: String b}): | |
a.expectStaticType<Exactly<String>>(); | |
return "{1: <String>$a}"; |
Similarly, in other lines of the same file:
({1: String b}) => "{1: <String>$a}", |
co19/LanguageFeatures/Patterns/variable_A02_t05.dart
Lines 57 to 59 in 74cb5e7
if (m case ({1: String b})) { | |
a.expectStaticType<Exactly<String>>(); | |
return "{1: <String>$a}"; |
Metadata
Metadata
Assignees
Labels
bad-testReport tests in need of updates. When closed, the tests should be considered goodReport tests in need of updates. When closed, the tests should be considered good