Skip to content

Commit a84d9c0

Browse files
authored
Fixes #1635. Fix typos in object pattern tests (#1641)
1 parent 2ac0bd1 commit a84d9c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

LanguageFeatures/Patterns/object_A01_t01.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ main() {
7272
Expect.throws(() {test(Circle(10));});
7373
Expect.equals("null-check = 12.56", test(Circle(2)));
7474
Expect.equals("default", test(Circle(20)));
75-
Expect.equals("null-assert = 42", test(Circle(3)));
75+
Expect.equals("null-assert = 28.26", test(Circle(3)));
7676
Expect.throws(() {test(Circle(30));});
7777
Expect.equals("constant", test(Square(1)));
7878
Expect.equals("variable-1 = 41", test(Rectangle(41, 1)));

LanguageFeatures/Patterns/object_A01_t02.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ main() {
8888
Expect.throws(() {test(Circle(10));});
8989
Expect.equals("null-check = 12.56", test(Circle(2)));
9090
Expect.equals("default", test(Circle(20)));
91-
Expect.equals("null-assert = 42", test(Circle(3)));
91+
Expect.equals("null-assert = 28.26", test(Circle(3)));
9292
Expect.throws(() {test(Circle(30));});
9393
Expect.equals("constant", test(Square(1)));
9494
Expect.equals("variable-1 = 41", test(Rectangle(41, 1)));

LanguageFeatures/Patterns/object_A01_t03.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ main() {
109109
Expect.throws(() {test(Circle(10));});
110110
Expect.equals("null-check = 12.56", test(Circle(2)));
111111
Expect.equals("default", test(Circle(20)));
112-
Expect.equals("null-assert = 42", test(Circle(3)));
112+
Expect.equals("null-assert = 28.26", test(Circle(3)));
113113
Expect.throws(() {test(Circle(30));});
114114
Expect.equals("constant", test(Square(1)));
115115
Expect.equals("variable-1 = 41", test(Rectangle(41, 1)));

0 commit comments

Comments
 (0)