[flutter_tools] Make setting of CWD consistent for flutter test (#74622)
This commit is contained in:
@@ -42,6 +42,10 @@ void main() {
|
||||
return _testFile('trivial_widget', automatedTestsDirectory, flutterTestDirectory, exitCode: isZero);
|
||||
});
|
||||
|
||||
testWithoutContext('flutter test set the working directory correctly', () async {
|
||||
return _testFile('working_directory', automatedTestsDirectory, flutterTestDirectory, exitCode: isZero);
|
||||
});
|
||||
|
||||
testWithoutContext('flutter test should report nice errors for exceptions thrown within testWidgets()', () async {
|
||||
return _testFile('exception_handling', automatedTestsDirectory, flutterTestDirectory);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user