Home | History | Annotate | Download | only in gofmt

Lines Matching refs:diff

115 		d, err := diff(expected, got, in)
191 if _, err := exec.LookPath("diff"); err != nil {
192 t.Skipf("skip test on %s: diff command is required", runtime.GOOS)
197 b, err := diff(in, out, filename)
210 t.Errorf("diff: first line should start with `%s`\ngot: %s", prefix, line0)
214 t.Errorf("diff: second line should start with `%s`\ngot: %s", prefix, line1)
224 t.Errorf("diff: got:\n%s\nwant:\n%s", got, want)
229 diff := []byte(`--- /tmp/tmpfile1 2017-02-08 00:53:26.175105619 +0900
243 // Check path in diff output is always slash regardless of the
247 got, err := replaceTempFilename(diff, filename)