blob: b940afe28a6ac579dd5f879af3bda7fbe7516e6b [file] [log] [blame]
// Copyright (c) 2017, 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 final Object message;
/// Message describing the assertion error
/// @description Checks that this property returns correct value
/// @author sgrekhov@unipro.ru
import "../../../Utils/expect.dart";
main() {
UnimplementedError ue1 = new UnimplementedError();
Expect.isNull(ue1.message);
UnimplementedError ue2 = new UnimplementedError("Unimplemented test");
Expect.equals("Unimplemented test", ue2.message);
}