summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/go/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/go/package.py')
-rw-r--r--var/spack/repos/builtin/packages/go/package.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/go/package.py b/var/spack/repos/builtin/packages/go/package.py
index 7c83a14416..24f874efa1 100644
--- a/var/spack/repos/builtin/packages/go/package.py
+++ b/var/spack/repos/builtin/packages/go/package.py
@@ -98,10 +98,7 @@ class Go(Package):
@when("@:1.4.3")
def patch(self):
test_suite_file = FileFilter(join_path("src", "run.bash"))
- test_suite_file.filter(
- r"^(.*)(\$GOROOT/src/cmd/api/run.go)(.*)$",
- r"# \1\2\3",
- )
+ test_suite_file.filter(r"^(.*)(\$GOROOT/src/cmd/api/run.go)(.*)$", r"# \1\2\3")
def install(self, spec, prefix):
bash = which("bash")