blob: c8341a3bc4efd94a48fc5d88df8ad2f7ad687e33 [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 Returns whether this map contains the given [key].
/// @description Checks that null key is allowed
/// @author msyabro
library containsKey_A01_t02;
import "../../../Utils/expect.dart";
test(Map create([Map content])) {
Map map = create();
map[null] = "not null";
Expect.isTrue(map.containsKey(null));
}