Skip to content

Commit

Permalink
Use Go 1.10+ Debug Flag Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
awood45 committed Jan 21, 2020
1 parent 35bd2f6 commit feb8155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/workflows/go_modules/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_debug_configuration_set(self):
self.under_test = GoModulesBuilder(self.osutils, self.binaries, "Debug")
self.under_test.build("source_dir", "output_path")
self.osutils.popen.assert_called_with(
["/path/to/go", "build", "-gcflags='-N -l'", "-o", "output_path", "source_dir"],
["/path/to/go", "build", "-gcflags='all=-N -l'", "-o", "output_path", "source_dir"],
cwd="source_dir",
env={"GOOS": "linux", "GOARCH": "amd64"},
stderr="PIPE",
Expand Down

0 comments on commit feb8155

Please sign in to comment.