Index: pkg/unittest/lib/src/test_case.dart |
=================================================================== |
--- pkg/unittest/lib/src/test_case.dart (revision 21816) |
+++ pkg/unittest/lib/src/test_case.dart (working copy) |
@@ -61,9 +61,9 @@ |
Completer _testComplete; |
TestCase._internal(this.id, this.description, this.testFunction) |
- : currentGroup = _currentGroup, |
- setUp = _testSetup, |
- tearDown = _testTeardown; |
+ : currentGroup = _currentContext.groupName, |
+ setUp = _currentContext.testSetup, |
+ tearDown = _currentContext.testTeardown; |
bool get isComplete => !enabled || result != null; |