// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.import'dart:io';import'package:path/path.dart'aspath;import'common.dart';voidmain(){test('We are in a directory with a space in it',()async{// The Flutter SDK should be in a directory with a space in it, to make sure// our tools support that.finalStringexpectedName=Platform.environment['FLUTTER_SDK_PATH_WITH_SPACE'];expect(expectedName,'flutter sdk');expect(expectedName,contains(' '));finalList<String>parts=path.split(Directory.current.absolute.path);expect(parts.reversed.take(3),<String>['bots','dev',expectedName]);