util/syspolicy: remove handler, other dead code

Fixes #17022

Change-Id: I6a0f6488ae3ea75c5844dfcba68e1e8024e930be
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-09-03 15:05:38 -07:00
committed by Brad Fitzpatrick
parent 04f00339b6
commit d8ac539bf9
3 changed files with 0 additions and 125 deletions
-7
View File
@@ -46,13 +46,6 @@ func TestKnownKeysRegistered(t *testing.T) {
}
}
func TestNotAWellKnownSetting(t *testing.T) {
d, err := WellKnownSettingDefinition("TestSettingDoesNotExist")
if d != nil || err == nil {
t.Fatalf("got %v, %v; want nil, %v", d, err, ErrNoSuchKey)
}
}
func listStringConsts[T ~string](filename string) (map[string]T, error) {
fset := token.NewFileSet()
src, err := os.ReadFile(filename)