adds some code

This commit is contained in:
2025-11-23 13:37:10 +07:00
parent 66591c1b71
commit b506a64ed1
6 changed files with 127 additions and 2 deletions

10
pkg/state/store_test.go Normal file
View 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)
}
}