blob: 8113bd8fe729a3b691c855d5da6d39a3e66628e6 [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");
}