blob: 9b3f351f88ab50d21eab386bcf88bbd094acd32d [file] [log] [blame]
/*
* 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.
*/
/**
* @assertion If this collection is empty, returns true.
* @needsreview not documented
* @description Checks that method always returns true on an empty list.
* @author kaigorodov
*/
import "dart:collection";
import "../../../Utils/expect.dart";
main() {
Expect.isTrue(new LinkedList().every((var v) {return true;}));
}