blob: 81434b62ab8a999d9008cdd407711ecf5e0435d3 [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 UnsupportedError(String message)
/// @description Checks that this constructor executes without error with various
/// arguments.
/// @author rodionov,
import "../../../Utils/expect.dart";
main() {
UnsupportedError ue = new UnsupportedError("");
Expect.equals("", ue.message);
ue = new UnsupportedError("11");
Expect.equals("11", ue.message);