Skip to content

Commit

Permalink
Give up on testscript and windows for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Sep 3, 2024
1 parent dff0f93 commit 7193cf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !tinygo
// +build !tinygo
//go:build !tinygo && !windows
// +build !tinygo,!windows

package main_test

Expand All @@ -11,10 +11,10 @@ import (
main "grol.io/grol"
)

// TODO: figure out how to make it work on windows - maybe need to use $exe everywhere?
func TestMain(m *testing.M) {
os.Exit(testscript.RunMain(m, map[string]func() int{
"grol": main.Main,
"grol.exe": main.Main,
"grol": main.Main,
}))
}

Expand Down

0 comments on commit 7193cf4

Please sign in to comment.