adds some code
This commit is contained in:
10
pkg/state/store_test.go
Normal file
10
pkg/state/store_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package state
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTrimExt(t *testing.T) {
|
||||
got := trimExt("foo.yaml")
|
||||
if got != "foo" {
|
||||
t.Fatalf("expected foo, got %s", got)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user