You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Move SDK library expectation to all subcategories
* Retype has been removed
* Improve error message when FLUTTER_ROOT is needed but not set
* Add a test for the new exception
* Make the test work even when FLUTTER_ROOT is already in the environemnt
* Allow the pub warning as well, since if pub get hasn't been run yet that's the error users will see
test('Validate missing FLUTTER_ROOT exception is clean', () async {
51
+
var args =<String>[dartdocBin];
52
+
var result =Process.runSync(Platform.resolvedExecutable, args,
53
+
environment:newMap.from(Platform.environment)
54
+
..remove('FLUTTER_ROOT'),
55
+
includeParentEnvironment:false,
56
+
workingDirectory: _testPackageFlutterPluginPath);
57
+
expect(
58
+
result.stderr,
59
+
contains(newRegExp(
60
+
'Top level package requires Flutter but FLUTTER_ROOT environment variable not set|test_package_flutter_plugin requires the Flutter SDK, version solving failed')));
0 commit comments