MCPcopy Create free account
hub / github.com/docker/docker-language-server / TestCodeLens

Function TestCodeLens

internal/bake/hcl/codeLens_test.go:17–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15)
16
17func TestCodeLens(t *testing.T) {
18 testsFolder := filepath.Join(os.TempDir(), "codeLensTests")
19 bakeFilePath := filepath.Join(testsFolder, "docker-bake.hcl")
20 uriString := fmt.Sprintf("file:///%v", filepath.ToSlash(bakeFilePath))
21 testCodeLens(t, testsFolder, uriString)
22}
23
24func TestCodeLens_WSL(t *testing.T) {
25 testCodeLens(t, "\\\\wsl$\\docker-desktop\\tmp", "file://wsl%24/docker-desktop/tmp/docker-bake.hcl")

Callers

nothing calls this directly

Calls 1

testCodeLensFunction · 0.85

Tested by

no test coverage detected