Skip to content

Commit 55ab0d8

Browse files
committed
tests: cli: jj absorb warns when fileset doesn't exist
1 parent 70fc02a commit 55ab0d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/tests/test_absorb_command.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,10 @@ fn test_absorb_paths() {
810810
work_dir.write_file("file1", "1A\n");
811811
work_dir.write_file("file2", "1A\n");
812812

813-
let output = work_dir.run_jj(["absorb", "unknown"]);
813+
let output = work_dir.run_jj(["absorb", "nonexistent"]);
814814
insta::assert_snapshot!(output, @r"
815815
------- stderr -------
816+
Warning: No matching entries for paths: nonexistent
816817
Nothing changed.
817818
[EOF]
818819
");

0 commit comments

Comments
 (0)