Skip to content

Commit

Permalink
test: add more
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jan 2, 2025
1 parent 335950a commit 7c9bcec
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 237 deletions.
3 changes: 3 additions & 0 deletions tests/go/internal/notest/notest.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package notest

func nope() {}
5 changes: 5 additions & 0 deletions tests/go/internal/two/one_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package two

import "testing"

func TestOne(t *testing.T) {}
5 changes: 5 additions & 0 deletions tests/go/internal/two/two_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package two

import "testing"

func TestTwo(t *testing.T) {}
8 changes: 8 additions & 0 deletions tests/go/lookup_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ describe("Lookup", function()
ExampleTestSuite2 = "TestExampleTestSuite2",
},
},
[folderpath .. "/internal/two/one_test.go"] = {
package = "two",
replacements = {},
},
["/Users/fredrik/code/public/neotest-golang/tests/go/internal/two/two_test.go"] = {
package = "two",
replacements = {},
},
[folderpath .. "/internal/x/xtest_blackbox_test.go"] = {
package = "x_test",
replacements = {},
Expand Down
Loading

0 comments on commit 7c9bcec

Please sign in to comment.