blob: 13a8e43daff64b0e95acf146f5d632f6969b9675 [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("Unimplented test");
Expect.equals("Unimplented test", ue2.message);
}