Skip to content

Commit 6fb5357

Browse files
authored
Update test driven example
1 parent bbf083f commit 6fb5357

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ func TestCases(t *testing.T) {
4747
for testName, args := range testCases {
4848
t.Run(testName, func(t *testing.T) {
4949
result := functionUnderTest(args...)
50-
err := cupaloy.SnapshotMulti(testName, result)
51-
if err != nil {
52-
t.Fatalf("error: %s", err)
53-
}
50+
cupaloy.SnapshotT(t, result)
5451
})
5552
}
5653
}

0 commit comments

Comments
 (0)