diff options
Diffstat (limited to 'internal/engine/property_test.go')
| -rw-r--r-- | internal/engine/property_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/engine/property_test.go b/internal/engine/property_test.go index 135c20a..8a43d7b 100644 --- a/internal/engine/property_test.go +++ b/internal/engine/property_test.go @@ -135,7 +135,7 @@ func contentCounts(snap map[string]string) map[string]int { // checkApplyUndo builds c in a sandbox, applies every chain, checks nothing // was lost, undoes the run and checks the home directory - files and -// directories - is as it was. It reports whether any file was applied. +// directories - is as it was. It reports whether any step actually ran. func checkApplyUndo(t *testing.T, c propertyCase) bool { h := sandbox(t) old := time.Date(2026, 3, 1, 12, 0, 0, 0, time.UTC) @@ -253,5 +253,5 @@ func checkApplyUndo(t *testing.T, c propertyCase) bool { } } } - return true + return res.Applied > 0 } |
