Skip to content

Commit

Permalink
dart-lang#1627. [Patterns] Typos in constant pattern tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed Jan 3, 2023
1 parent ac4a905 commit a0ffd8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LanguageFeatures/Patterns/constant_A02_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ String testNum(num value) {
Zero => "zero",
Pi =>"pi",
Answer => "answer",
Negative => "nagative",
NegativePi => "nagative-pi",
Negative => "negative",
NegativePi => "negative-pi",
MaxJSInt => "max_int",
_ => "default"
};
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Patterns/constant_A02_t15.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ String test(Color value) {
Color.white => "white",
Color.red => "red",
Color.yellow => "yellow",
Color.blue => "default",
Color.blue => "blue",
Color.black => "black",
_ => "default"
};
Expand Down

0 comments on commit a0ffd8c

Please sign in to comment.