You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exec forge run ./dir1+test
cmpenv stdout golden.txt
-- golden.txt --
earthly
./dir1+test
Image ./dir1+test output as test
{"$GOOS/$GOARCH":{"artifacts":{},"images":{"./dir1+test":"test"}}}
The above test returns empty values for $GOOS and $GOARCH. The documentation seems to suggest these values should be set:
[!] cmpenv file1 file2 Like cmp, but environment variables in file2 are substituted before the comparison. For example, $GOOS is replaced by the target GOOS.
Yet, running with -testwork doesn't show these variables being set:
go.mod:
Script:
The above test returns empty values for
$GOOS
and$GOARCH
. The documentation seems to suggest these values should be set:Yet, running with
-testwork
doesn't show these variables being set:What am I missing?
The text was updated successfully, but these errors were encountered: