Skip to content

Commit 25d0705

Browse files
committed
[email protected]: update test
1 parent 14d7e00 commit 25d0705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/g/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def install
7878

7979
# Try running a sample using cgo without CC or CXX set to ensure that the
8080
# toolchain's default choice of compilers work
81-
with_env(CC: nil, CXX: nil) do
81+
with_env(CC: nil, CXX: nil, CGO_ENABLED: "1") do
8282
assert_equal "Hello from cgo!\n", shell_output("#{bin}/go run hello_cgo.go")
8383
end
8484
end

0 commit comments

Comments
 (0)