Commit 847f325 1 parent 568836c commit 847f325 Copy full SHA for 847f325
File tree 10 files changed +50
-0
lines changed
gnovm/pkg/packages/testdata
10 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ package foo
2
+
3
+ func Foo() {
4
+
5
+ }
Original file line number Diff line number Diff line change
1
+ package foo
2
+
3
+ import "testing"
4
+
5
+ func TestFoo(t *testing.T) {
6
+ Foo()
7
+ }
Original file line number Diff line number Diff line change
1
+ module gno.example.com/r/wspace1/foo
Original file line number Diff line number Diff line change
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 number Diff line number Diff line change
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 number Diff line number Diff line change
1
+ module gno.example.com/r/wspace2/bar
Original file line number Diff line number Diff line change
1
+ package foo
2
+
3
+ func Foo() {
4
+
5
+ }
Original file line number Diff line number Diff line change
1
+ module gno.example.com/r/wspace2/foo
Original file line number Diff line number Diff line change
1
+ package main
2
+
3
+ func lib() {
4
+
5
+ }
Original file line number Diff line number Diff line change
1
+ package main
2
+
3
+ func main() {
4
+ lib()
5
+ }
You can’t perform that action at this time.
0 commit comments