mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-08-03 15:18:16 +00:00
refactor: rename directory
This commit is contained in:
parent
4782784122
commit
1d6dd6623e
41 changed files with 54 additions and 67 deletions
15
demo/go/main_test.go
Normal file
15
demo/go/main_test.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestAddOne(t *testing.T) {
|
||||
assert.Equal(t, 2, addOne(1))
|
||||
}
|
||||
|
||||
func TestAddTwo(t *testing.T) {
|
||||
assert.Equal(t, 3, addTwo(1))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue