blob: 6614d04237059feae836a5d58b039205c8861b92 [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);
}