Skip to content

Commit d8bf778

Browse files
committed
test(docs): Verify generated output
1 parent ce3d32a commit d8bf778

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/testsuite/doc.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,9 +1186,11 @@ fn doc_all_workspace() {
11861186

11871187
// The order in which bar is compiled or documented is not deterministic
11881188
p.cargo("doc --workspace")
1189-
.with_stderr_contains("[..] Documenting bar v0.1.0 ([..])")
1190-
.with_stderr_contains("[..] Checking bar v0.1.0 ([..])")
1191-
.with_stderr_contains("[..] Documenting foo v0.1.0 ([..])")
1189+
.with_stderr_contains("[DOCUMENTING] bar v0.1.0 ([..])")
1190+
.with_stderr_contains("[CHECKING] bar v0.1.0 ([..])")
1191+
.with_stderr_contains("[DOCUMENTING] foo v0.1.0 ([..])")
1192+
.with_stderr_contains("[GENERATED] [CWD]/target/doc/bar/index.html")
1193+
.with_stderr_contains("[GENERATED] [CWD]/target/doc/foo/index.html")
11921194
.run();
11931195
}
11941196

0 commit comments

Comments
 (0)