Skip to content

Commit

Permalink
feat: switch snapshot tests from xml to json
Browse files Browse the repository at this point in the history
getting xml validation to work is not worth it, most users choose json anyway, and it generally simplifies things a lot.

Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Sep 15, 2024
1 parent 7c6357f commit 6a03474
Show file tree
Hide file tree
Showing 31 changed files with 2,154 additions and 24,165 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ require (
github.com/go-git/go-git/v5 v5.12.0
github.com/google/uuid v1.6.0
github.com/peterbourgon/ff/v3 v3.4.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.33.0
github.com/stretchr/testify v1.9.0
github.com/terminalstatic/go-xsd-validate v0.1.5
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.27.0
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
Expand Down Expand Up @@ -39,7 +39,6 @@ require (
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/montanaflynn/stats v0.0.0-20151014174947-eeaced052adb // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.0.1 // indirect
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
Expand Down
247 changes: 0 additions & 247 deletions internal/testutil/schema/bom-1.0.xsd

This file was deleted.

Loading

0 comments on commit 6a03474

Please sign in to comment.