func()

in e2etest.go [41:47]


func (e2eTestExecutor) TearDown(t testingT, rootDir string, modulePath string) {
	s := SuccessTestVersionSnapshot(rootDir, modulePath)
	if t.Failed() {
		s = FailedTestVersionSnapshot(rootDir, modulePath, t.ErrorMessage())
	}
	require.NoError(t, s.Save(t))
}