Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goldie.New(ts.T()).AssertJson(ts.T(), tt.golden, response) when rerun and diff in wsl2 show error #37

Open
tritueviet opened this issue Sep 27, 2021 · 1 comment

Comments

@tritueviet
Copy link

goldie.New(ts.T()).AssertJson(ts.T(), tt.golden, response) when rerun and diff in wsl2 show error

test.go:6747: Result did not match the golden fixture. Diff is below:

but the output is same as. When I generate or save file again it is not happen.

@tritueviet
Copy link
Author

func (g *Goldie) compare(t *testing.T, name string, actualData []byte) error {

compare it not normalize in an expected file when the reader. Please fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant