Skip to content

Commit

Permalink
e2e: Fix test on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Oct 6, 2024
1 parent 7864d9d commit e787993
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import (
var transcripts embed.FS

const buildScript = `
go build (if (not-eq $E:GOCOVERDIR '') { put -cover }) -o $workdir/elvish src.elv.sh/cmd/elvish
# Using "-o $workdir/" instead of "-o $workdir/elvish" gets us the correct file
# extension on Windows
go build (if (not-eq $E:GOCOVERDIR '') { put -cover }) -o $workdir/ src.elv.sh/cmd/elvish
`

func TestTranscripts(t *testing.T) {
Expand Down

0 comments on commit e787993

Please sign in to comment.