blob: ed36ad9d9e56bd6122b4cdf5b15289172c88cb81 [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 Constructs a new exception with the specified message.
/// @description Checks that this constructor executes without error for various
/// String arguments (including null).
/// @author rodionov
import "../../../Utils/expect.dart";
main() {
Expect.isNull(new ExpectException(null).message);
new ExpectException("");
new ExpectException("asdgfsdjkg");
}