We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4dffb commit bbe4726Copy full SHA for bbe4726
main_test.go
@@ -48,6 +48,7 @@ func TestGPython(t *testing.T) {
48
}
49
50
want, err := os.ReadFile(fname)
51
+ want = bytes.ReplaceAll(want, []byte("\r\n"), []byte("\n"))
52
if err != nil {
53
t.Fatalf("could not read golden file: %+v", err)
54
pytest/pytest.go
@@ -273,6 +273,7 @@ func (task *Task) run() error {
273
return fmt.Errorf("could not read golden output %q: %w", task.GoldFile, err)
274
275
276
277
diff := cmp.Diff(string(want), string(got))
278
if !bytes.Equal(got, want) {
279
out := fileBase + ".txt"
0 commit comments