MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / assertEqualResult

Function assertEqualResult

cmd/helpers_for_test.go:205–211  ·  view source on GitHub ↗
(t *testing.T, got, want testResult, msg string)

Source from the content-addressed store, hash-verified

203}
204
205func assertEqualResult(t *testing.T, got, want testResult, msg string) {
206 if got != want {
207 t.Fatal(emoji.Sprintf(":x:got test result %s, want %s\n%s", got, want, msg))
208 } else {
209 tInfo(emoji.Sprint(":white_check_mark:test result assertion passed!"))
210 }
211}
212
213func assertOutContains(t *testing.T, s string, contains ...string) {
214 for _, c := range contains {

Callers 15

TestDescBranchCmdFunction · 0.85
TestNewUserFunction · 0.85
TestProtectBranchFunction · 0.85
TestDeleteProjectHookFunction · 0.85
TestDeleteTagCmdFunction · 0.85
TestDescTagCmdFunction · 0.85
TestNewTagFunction · 0.85
TestEditProjectHookFunction · 0.85
TestDeleteAllMembersFunction · 0.85
TestDeleteBranchCmdFunction · 0.85
TestGetBranchCmdFunction · 0.85
TestEditReleaseFunction · 0.85

Calls 1

tInfoFunction · 0.85

Tested by

no test coverage detected