MCPcopy
hub / github.com/larksuite/cli / TestPath

Function TestPath

internal/lockfile/lockfile_test.go:136–141  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

134}
135
136func TestPath(t *testing.T) {
137 l := New("/tmp/test.lock")
138 if l.Path() != "/tmp/test.lock" {
139 t.Errorf("Path() = %q, want /tmp/test.lock", l.Path())
140 }
141}
142
143func TestForSubscribe(t *testing.T) {
144 dir := t.TempDir()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.70
PathMethod · 0.65

Tested by

no test coverage detected