Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assert ¶
Assert compares the actual dir to the expected content in the golden dir. Returns whether the assertion was successful (true) or not (false)
Example ¶
package main
import (
"testing"
"github.com/seriousben/goldendir"
)
var t = &testing.T{}
func main() {
goldendir.Assert(t, "/path/to/foo-dir", "foo-dir.golden")
}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.