Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Update for package:test; onPrint->onMessage #3

Merged
merged 1 commit into from
Jan 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.2+4

* Compatibility with the latest `test`.

# 0.2.2+3

* Compatibility with the latest `test`.
Expand Down
2 changes: 1 addition & 1 deletion lib/metatest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void _setUpTest(String description, void body(),
new PluginEnvironment(), SuiteConfiguration.empty, declarer.build())
]);
for (var test in engine.liveTests) {
test.onPrint.listen(print);
test.onMessage.listen((message) => print(message.text));
}
await engine.run();

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: metatest
version: 0.2.2+3
version: 0.2.2+4
author: Dart Team <[email protected]>
description: A package for testing Dart test frameworks.
homepage: https://github.com/dart-lang/metatest
environment:
sdk: '>=1.8.0 <2.0.0'
dependencies:
test: '^0.12.17'
test: '^0.12.30'