Skip to content

Commit 847f325

Browse files
committed
chore: add testdata
Signed-off-by: Norman <norman@samourai.coop>
1 parent 568836c commit 847f325

File tree

10 files changed

+50
-0
lines changed

10 files changed

+50
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package foo
2+
3+
func Foo() {
4+
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package foo
2+
3+
import "testing"
4+
5+
func TestFoo(t *testing.T) {
6+
Foo()
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module gno.example.com/r/wspace1/foo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package bar
2+
3+
import (
4+
"gno.example.com/r/wspace2/foo"
5+
)
6+
7+
func Bar() {
8+
foo.Foo()
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package bar_test
2+
3+
import (
4+
"testing"
5+
6+
"gno.example.com/r/wspace2/bar"
7+
)
8+
9+
func TestBar(t *testing.T) {
10+
bar.Bar()
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module gno.example.com/r/wspace2/bar
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package foo
2+
3+
func Foo() {
4+
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module gno.example.com/r/wspace2/foo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package main
2+
3+
func lib() {
4+
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package main
2+
3+
func main() {
4+
lib()
5+
}

0 commit comments

Comments
 (0)