MCPcopy Create free account
hub / github.com/z7zmey/php-parser / TestPrintWithotPos

Function TestPrintWithotPos

errors/error_test.go:37–45  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

35}
36
37func TestPrintWithotPos(t *testing.T) {
38 Error := errors.NewError("message", nil)
39
40 actual := Error.String()
41
42 expected := "message"
43
44 assert.DeepEqual(t, expected, actual)
45}

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
NewErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…