Skip to content

Commit

Permalink
TestParseCases(): fix "expected" and "actual" being reversed
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Oct 26, 2020
1 parent 1b1d9e8 commit e367fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/dockerfile/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestParseCases(t *testing.T) {
// CRLF --> CR to match Unix behavior
content = bytes.Replace(content, []byte{'\x0d', '\x0a'}, []byte{'\x0a'}, -1)
}
require.Equal(t, result.AST.Dump()+"\n", string(content), dockerfile)
require.Equal(t, string(content), result.AST.Dump()+"\n", dockerfile)
})
}
}
Expand Down

0 comments on commit e367fd6

Please sign in to comment.