mirror of
https://github.com/jimeh/go-golden.git
synced 2026-02-19 03:16:38 +00:00
refactor(golden): major refactor and improvements
This includes sanitizing golden file names to avoid characters and names which are invalid on some operating systems. So this should now work on Linux, macOS, and Window.
This commit is contained in:
1
testdata/TestExampleMyStructP/json.golden
vendored
Normal file
1
testdata/TestExampleMyStructP/json.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"foo":"Bar"}
|
||||
1
testdata/TestExampleMyStructP/xml.golden
vendored
Normal file
1
testdata/TestExampleMyStructP/xml.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<MyStruct><Foo>Bar</Foo></MyStruct>
|
||||
Reference in New Issue
Block a user