Skip to content

Commit

Permalink
TestTestgop
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Nov 7, 2024
1 parent 02d1df3 commit ce33bae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions cl/_testgop/unit/in.gop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import "time"

func Wait(time.Duration) {}

wait 1
9 changes: 9 additions & 0 deletions cl/_testgop/unit/out.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package main

import "time"

func Wait(time.Duration) {
}
func main() {
Wait(1)
}
4 changes: 4 additions & 0 deletions cl/compile_testdir_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import (
"github.com/goplus/gop/cl/cltest"
)

func TestTestgop(t *testing.T) {
cltest.FromDir(t, "", "./_testgop")
}

func TestTestc(t *testing.T) {
cltest.FromDir(t, "", "./_testc")
}
Expand Down

0 comments on commit ce33bae

Please sign in to comment.