diff --git a/packages/flutter_tools/test/commands.shard/permeable/create_test.dart b/packages/flutter_tools/test/commands.shard/permeable/create_test.dart index ce88d122d5ed..3dbd30c68e93 100644 --- a/packages/flutter_tools/test/commands.shard/permeable/create_test.dart +++ b/packages/flutter_tools/test/commands.shard/permeable/create_test.dart @@ -3776,7 +3776,7 @@ void main() { '--no-pub', '--template=plugin', '--project-name=test', - projectDir.path, + 'dev/test', ]), throwsToolExit(message: 'Unable to read the template manifest at path'), ); @@ -3784,8 +3784,7 @@ void main() { FileSystem: () => MemoryFileSystem.test( opHandle: (String context, FileSystemOp operation) { if (operation == FileSystemOp.read && context.contains('template_manifest.json')) { - throw io.PathNotFoundException( - context, const OSError(), 'Cannot open file'); + throw io.PathNotFoundException(context, const OSError(), 'Cannot open file'); } }, ),