diff options
Diffstat (limited to 'cmd/krino/matching_test.go')
| -rw-r--r-- | cmd/krino/matching_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/krino/matching_test.go b/cmd/krino/matching_test.go index 69c0eca..25a2993 100644 --- a/cmd/krino/matching_test.go +++ b/cmd/krino/matching_test.go @@ -18,7 +18,7 @@ const dlRules = ` (recursive yes) (min-age 0s) (ignore "*.part") -(rule "dups" (when (duplicate)) (delete) (stop)) +(rule "dups" (when (duplicate)) (move "Dupes") (stop)) (rule "acme" (when (type document) (content "acme ltd")) (move "Work/Acme") (stop)) (rule "images" (when (type image)) (move "Pictures")) (rule "rest" (when (not (matched)) (type text)) (move "Other")) @@ -66,7 +66,7 @@ func TestDryRun(t *testing.T) { "krino: dl ~/dl\n8 scanned · 4 to act on · 2 warnings · ", "\n 1 inv1.txt move → Work/Acme/ acme type txt, content \"acme ltd\"\n", "\n 2 notes.txt move → Other/ rest not matched, type txt\n", - "\n 4 report (1).pdf trash dups duplicate of report.pdf\n", + "\n 4 report (1).pdf move → Dupes/ dups duplicate of report.pdf\n", "\nwarnings\n brochure.doc acme: content unreadable: needs antiword or catdoc, not installed\n", "\nnot acted on: 1 ignored · 1 busy · 2 unmatched (-v lists them)\n", } { |
