mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:16:51 +00:00
d7891cf587
BUG= R=rnystrom@google.com Review-Url: https://codereview.chromium.org/2991363002 .
13 lines
348 B
Dart
13 lines
348 B
Dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
main() {
|
|
var l = [];
|
|
l.add(1);
|
|
Expect.equals(1, l.length);
|
|
Expect.equals(1, l[0]);
|
|
}
|