- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for compareAPI (0.06 sec)
-
src/cmd/api/api_test.go
}, ok: false, out: "+pkg syscall, type RawSockaddrInet6 struct\n", }, } for _, tt := range tests { buf := new(strings.Builder) gotOK := compareAPI(buf, tt.features, tt.required, tt.exception) if gotOK != tt.ok { t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok) } if got := buf.String(); got != tt.out {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 02 17:06:27 UTC 2025 - 7.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
} exception := fileFeatures(filepath.Join(testenv.GOROOT(t), "api/except.txt"), false) if exitCode == 1 { t.Errorf("API database problems found") } if !compareAPI(bw, features, required, exception) { t.Errorf("API differences found") } } // export emits the exported package features. func (w *Walker) export(pkg *apiPackage) { if verbose { log.Println(pkg)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0)