blob: 1f9e389b6d24c94f26beb211fd9aa13af51d180b [file] [log] [blame]
// Copyright (c) 2013, 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.
// @dart = 2.9
/// @assertion bool moveNext()
/// Returns false, if no element was left.
/// @description Checks that false is returned if no element left.
/// @author msyabro
import "../../../Utils/expect.dart";
main() {
var it = new RuneIterator('');
Expect.isFalse(it.moveNext());
it = new RuneIterator('abc');
it.rawIndex = 2;
Expect.isFalse(it.moveNext());
}