| Index: pkg/unittest/lib/src/test_case.dart
|
| diff --git a/pkg/unittest/lib/src/test_case.dart b/pkg/unittest/lib/src/test_case.dart
|
| index 9f2a6320d1352c3d04d6fb9c6e4017750e0f5bbe..fc84ed7e7d03326f40604371ea788b3abc569808 100644
|
| --- a/pkg/unittest/lib/src/test_case.dart
|
| +++ b/pkg/unittest/lib/src/test_case.dart
|
| @@ -60,9 +60,9 @@ class TestCase {
|
| Completer _testComplete;
|
|
|
| TestCase._internal(this.id, this.description, this._testFunction)
|
| - : currentGroup = _currentContext.fullName,
|
| - _setUp = _currentContext.testSetup,
|
| - _tearDown = _currentContext.testTeardown;
|
| + : currentGroup = _environment.currentContext.fullName,
|
| + _setUp = _environment.currentContext.testSetup,
|
| + _tearDown = _environment.currentContext.testTeardown;
|
|
|
| bool get isComplete => !enabled || result != null;
|
|
|
|
|