MCPcopy Create free account
hub / github.com/boyter/scc / TestLoadLanguageFeatureNew

Function TestLoadLanguageFeatureNew

processor/processor_test.go:59–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestLoadLanguageFeatureNew(t *testing.T) {
60 isLazy = true
61 LanguageFeatures = map[string]LanguageFeature{}
62 LoadLanguageFeature("Go")
63 LoadLanguageFeature("Go")
64
65 _, ok := LanguageFeatures["Go"]
66
67 if !ok {
68 t.Error("Language should have been loaded")
69 }
70
71 isLazy = false
72 ProcessConstants()
73}
74
75func TestProcessFlags(t *testing.T) {
76 Debug = true

Callers

nothing calls this directly

Calls 2

LoadLanguageFeatureFunction · 0.85
ProcessConstantsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…