add more codes
This commit is contained in:
@@ -3,8 +3,8 @@ package state
|
||||
import "testing"
|
||||
|
||||
func TestTrimExt(t *testing.T) {
|
||||
got := trimExt("foo.yaml")
|
||||
if got != "foo" {
|
||||
t.Fatalf("expected foo, got %s", got)
|
||||
}
|
||||
got := trimExt("foo.yaml")
|
||||
if got != "foo" {
|
||||
t.Fatalf("expected foo, got %s", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user