Index: tests/json/json_test.dart |
diff --git a/tests/json/json_test.dart b/tests/json/json_test.dart |
index 5ec1c8386ad70c64b1ac46088a606c2964cbe439..1fe74e57708e6598591ce655f2a4239ec0b98b26 100644 |
--- a/tests/json/json_test.dart |
+++ b/tests/json/json_test.dart |
@@ -90,8 +90,8 @@ main() { |
// Lists. |
expect(json.stringify([]), equals('[]')); |
- expect(json.stringify(new List.fixedLength(0)), equals('[]')); |
- expect(json.stringify(new List.fixedLength(3)), equals('[null,null,null]')); |
+ expect(json.stringify(new List(0)), equals('[]')); |
+ expect(json.stringify(new List(3)), equals('[null,null,null]')); |
validateRoundTrip([3, -4.5, null, true, 'hi', false]); |
expect(json.stringify([[3], [], [null], ['hi', true]]), |
equals('[[3],[],[null],["hi",true]]')); |