Skip to content

Commit

Permalink
refactor: test files
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed May 22, 2024
1 parent 52f7483 commit a06b9b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions tests/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ import "fmt"
func main() {
fmt.Println("Hello, World!")
}

// Function used for tests.
func Add(a, b int) int {
return a + b
}
5 changes: 0 additions & 5 deletions tests/go/positions.go

This file was deleted.

1 change: 1 addition & 0 deletions tests/go/positions_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ describe("Discovery of test positions", function()
}

-- Act
---@type neotest.Tree
local tree =
nio.tests.with_async_context(adapter.discover_positions, test_filepath)

Expand Down

0 comments on commit a06b9b8

Please sign in to comment.