diff --git a/packages/flutter_tools/test/src/fake_process_manager.dart b/packages/flutter_tools/test/src/fake_process_manager.dart index a67698c327..171efdd6e2 100644 --- a/packages/flutter_tools/test/src/fake_process_manager.dart +++ b/packages/flutter_tools/test/src/fake_process_manager.dart @@ -111,13 +111,13 @@ class FakeCommand { final List matchers = this.command.map((Pattern x) => x is String ? x : matches(x)).toList(); expect(command, matchers); if (this.workingDirectory != null) { - expect(this.workingDirectory, workingDirectory); + expect(workingDirectory, this.workingDirectory); } if (this.environment != null) { - expect(this.environment, environment); + expect(environment, this.environment); } if (this.encoding != null) { - expect(this.encoding, encoding); + expect(encoding, this.encoding); } } }