testing.common.Errorf (method, view implemented interface methods)
43 uses
testing (current package)
benchmark.go#L198: b.Errorf("race detected during execution of benchmark")
testing.go#L801: func (c *common) Errorf(format string, args ...interface{}) {
testing.go#L948: c.Errorf("TempDir RemoveAll cleanup: %v", err)
testing.go#L1092: t.Errorf("race detected during execution of test")
testing.go#L1103: t.Errorf("%v: subtest may have called FailNow on a parent test", err)
src.elv.sh/pkg/cli/clitest
fake_tty.go#L301: t.Errorf("Wanted buffer not shown")
src.elv.sh/pkg/eval/evaltest
evaltest.go#L133: t.Errorf("got value out %v, want %v",
evaltest.go#L137: t.Errorf("got bytes out %q, want %q", r.BytesOut, tt.want.BytesOut)
evaltest.go#L140: t.Errorf("got stderr out %q, want %q", r.StderrOut, tt.want.StderrOut)
evaltest.go#L143: t.Errorf("got compilation error %v, want %v",
evaltest.go#L147: t.Errorf("unexpected exception")
evaltest.go#L152: t.Errorf("want: %v", tt.want.Exception)
src.elv.sh/pkg/eval/vals
testutils.go#L26: vt.t.Errorf("Kind(v) = %s, want %s", kind, wantKind)
testutils.go#L36: vt.t.Errorf("Bool(v) = %v, want %v", b, wantBool)
testutils.go#L46: vt.t.Errorf("Hash(v) = %v, want %v", hash, wantHash)
testutils.go#L56: vt.t.Errorf("Len(v) = %v, want %v", kind, wantLen)
testutils.go#L66: vt.t.Errorf("Repr(v) = %s, want %s", kind, wantRepr)
testutils.go#L77: vt.t.Errorf("Equal(v, %v) = false, want true", other)
testutils.go#L89: vt.t.Errorf("Equal(v, %v) = true, want false", other)
testutils.go#L101: vt.t.Errorf("HasKey(v, %v) = false, want true", key)
testutils.go#L113: vt.t.Errorf("HasKey(v, %v) = true, want false", key)
testutils.go#L129: vt.t.Errorf("IterateKeys(v, f) -> err %v, want nil", err)
testutils.go#L132: vt.t.Errorf("IterateKeys(v, f) calls f with %v, want %v", keys, wantKeys)
testutils.go#L152: vt.t.Errorf("Index(v, %v) -> err %v, want nil", key, err)
testutils.go#L155: vt.t.Errorf("Index(v, %v) -> %v, want %v", key, got, wantVal)
testutils.go#L166: vt.t.Errorf("Index(v, %v) -> err %v, want %v", key, err, wantErr)
testutils.go#L177: vt.t.Errorf("Assoc(v, %v) -> err %v, want nil", key, err)
testutils.go#L180: vt.t.Errorf("Assoc(v, %v) -> %v, want %v", key, got, wantNew)
testutils.go#L191: vt.t.Errorf("Assoc(v, %v) -> err %v, want %v", key, err, wantErr)
src.elv.sh/pkg/prog/progtest
progtest.go#L65: t.Errorf("got out %q, want %q", out, wantOut)
progtest.go#L73: t.Errorf("got out %q, want string containing %q", err, wantOutSnippet)
progtest.go#L147: t.Errorf("got exit %v, want 2", exit)
src.elv.sh/pkg/store/storetest
cmd.go#L36: t.Errorf("tStore.NextCmdSeq() => (%v, %v), want (1, nil)",
cmd.go#L43: t.Errorf("tStore.AddCmd(%v) => (%v, %v), want (%v, nil)",
cmd.go#L50: t.Errorf("tStore.NextCmdSeq() => (%v, %v), want (%v, nil)",
cmd.go#L57: t.Errorf("tStore.Cmd(%v) => (%v, %v), want (%v, nil)",
cmd.go#L71: t.Errorf("%s(%v, %v) => (%v, %v), want (%v, %v)",
cmd.go#L80: t.Errorf("Cmd(1) => (%v, %v), want (%v, %v)",
dir.go#L37: t.Errorf("tStore.AddDir(%q) => %v, want ", path, err)
dir.go#L43: t.Errorf(`tStore.ListDirs() => (%v, %v), want (%v, )`,
dir.go#L50: t.Errorf(`After DelDir("/usr"), tStore.ListDirs() => (%v, %v), want (%v, )`,
shared_var.go#L28: t.Errorf("want %q and no error, got %q and %v", value1, v, err)
shared_var.go#L38: t.Errorf("want %q and no error, got %q and %v", value2, v, err)