Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: test/invoker_test.dart

Issue 941123002: Get all tests running via the test runner. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/isolate_wrapper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/invoker_test.dart
diff --git a/test/invoker_test.dart b/test/invoker_test.dart
index 63823b2a3729b4ea3f3c10555bdb974be1d5c67a..b3a655b8df393a24b01d82163a1d2d152d277167 100644
--- a/test/invoker_test.dart
+++ b/test/invoker_test.dart
@@ -20,8 +20,9 @@ void main() {
});
group("Invoker.current", () {
+ var invoker = Invoker.current;
test("returns null outside of a test body", () {
- expect(Invoker.current, isNull);
+ expect(invoker, isNull);
});
test("returns the current invoker in a test body", () {
« no previous file with comments | « lib/src/isolate_wrapper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698