MCPcopy Index your code
hub / github.com/codegangsta/gin / expect

Function expect

lib/helpers_test.go:19–23  ·  view source on GitHub ↗

* Test Helpers */

(t *testing.T, a interface{}, b interface{})

Source from the content-addressed store, hash-verified

17
18/* Test Helpers */
19func expect(t *testing.T, a interface{}, b interface{}) {
20 if a != b {
21 t.Errorf("Expected %v (type %v) - Got %v (type %v) at %s", b, reflect.TypeOf(b), a, reflect.TypeOf(a), getCaller())
22 }
23}
24
25func refute(t *testing.T, a interface{}, b interface{}) {
26 if a == b {

Callers 12

Test_LoadConfigFunction · 0.85
Test_NewRunnerFunction · 0.85
Test_Runner_RunFunction · 0.85
Test_Runner_KillFunction · 0.85
Test_Runner_SetWriterFunction · 0.85
Test_NewProxyFunction · 0.85
Test_ProxyingFunction · 0.85
Test_Proxying_WebsocketFunction · 0.85

Calls 1

getCallerFunction · 0.85

Tested by

no test coverage detected