@ 261101.7

261021.17 · 7e535befdf162fc067aedb217232fbe88681f4a0

The lexer check takes its variable's name from WORKING_NAME

lexcheck_test.go named WWW_LEXCHECK as a literal, which the name test refuses once the file is tracked, so make test failed since 74e9cc8.

reading declarations

Changes to lexcheck_test.go. All files

lexcheck_test.go

@@ -18,9 +18,9 @@ import ( // reports the share of bytes that agree per language and the first lines // that differ. func TestOwnLexersMatchChroma(t *testing.T) {-	roots := strings.Fields(os.Getenv("WWW_LEXCHECK"))+	roots := strings.Fields(os.Getenv(envPrefix + "LEXCHECK")) 	if len(roots) == 0 {-		t.Skip("set WWW_LEXCHECK to files or directories to compare")+		t.Skip("set " + envPrefix + "LEXCHECK to files or directories to compare") 	} 	type tally struct{ files, bytes, wrong int } 	tallies := map[string]*tally{}