Test that the shipped data loads from a Go package per module, that a bare New fails naming WithDataFS, and that a read nothing provides names the modules its reader's manifest reads
This commit is contained in:
+1
-1
@@ -265,7 +265,7 @@ func TestGoExamplesPrintWhatTheyRender(t *testing.T) {
|
||||
if lines == nil {
|
||||
t.Errorf("%s prints no seeded Fake, so nothing holds its example to a render", name)
|
||||
}
|
||||
f, err := New(WithSeed(42))
|
||||
f, err := New(withShipped(), WithSeed(42))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user