Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Feb 20, 2024
1 parent 42281fe commit 9ce14bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn mangen() {
.assert()
.success();
let manpath = outdir.join("demo.1");
let script = std::fs::read_to_string(&manpath).unwrap();
let script = std::fs::read_to_string(manpath).unwrap();
assert!(script.contains(".TH DEMO 1"));
}

Expand Down
4 changes: 4 additions & 0 deletions tests/snapshots/integration__compgen__filedir__cd_win.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ expression: data
.\command\ 0 .\command\ 1;34
.\compgen.rs 1 .\compgen.rs 39
.\lib.rs 1 .\lib.rs 39
.\manpage.rs 1 .\manpage.rs 39
.\matcher.rs 1 .\matcher.rs 39
.\param.rs 1 .\param.rs 39
.\parser.rs 1 .\parser.rs 39
Expand All @@ -21,6 +22,7 @@ expression: data
.\command\ 0 .\command\ 1;34
.\compgen.rs: 0 .\compgen.rs: 39
.\lib.rs: 0 .\lib.rs: 39
.\manpage.rs: 0 .\manpage.rs: 39
.\matcher.rs: 0 .\matcher.rs: 39
.\param.rs: 0 .\param.rs: 39
.\parser.rs: 0 .\parser.rs: 39
Expand All @@ -33,6 +35,7 @@ expression: data
--oa=.\command\ 0 .\command\ 1;34
--oa=.\compgen.rs 1 .\compgen.rs 39
--oa=.\lib.rs 1 .\lib.rs 39
--oa=.\manpage.rs 1 .\manpage.rs 39
--oa=.\matcher.rs 1 .\matcher.rs 39
--oa=.\param.rs 1 .\param.rs 39
--oa=.\parser.rs 1 .\parser.rs 39
Expand All @@ -45,6 +48,7 @@ foo=.\build.rs 1 .\build.rs 39
foo=.\command\ 0 .\command\ 1;34
foo=.\compgen.rs 1 .\compgen.rs 39
foo=.\lib.rs 1 .\lib.rs 39
foo=.\manpage.rs 1 .\manpage.rs 39
foo=.\matcher.rs 1 .\matcher.rs 39
foo=.\param.rs 1 .\param.rs 39
foo=.\parser.rs 1 .\parser.rs 39
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ src\build.rs 1 build.rs 39
src\command\ 0 command\ 1;34
src\compgen.rs 1 compgen.rs 39
src\lib.rs 1 lib.rs 39
src\manpage.rs 1 manpage.rs 39
src\matcher.rs 1 matcher.rs 39
src\param.rs 1 param.rs 39
src\parser.rs 1 parser.rs 39
Expand All @@ -25,6 +26,7 @@ src\parser.rs 1 parser.rs 39
.\src\command\ 0 command\ 1;34
.\src\compgen.rs 1 compgen.rs 39
.\src\lib.rs 1 lib.rs 39
.\src\manpage.rs 1 manpage.rs 39
.\src\matcher.rs 1 matcher.rs 39
.\src\param.rs 1 param.rs 39
.\src\parser.rs 1 parser.rs 39
Expand Down

0 comments on commit 9ce14bf

Please sign in to comment.