Skip to content

Commit c92e1ea

Browse files
Fix test for hidden code
1 parent 795bd87 commit c92e1ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/rendered_output.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ fn rustdoc_include_hides_the_unspecified_part_of_the_file() {
168168
md.build().unwrap();
169169

170170
let nested = temp.path().join("book/first/nested.html");
171-
let text = vec!["# fn some_function() {", "# fn some_other_function() {"];
171+
let text = vec![
172+
"<span class=\"boring\">fn some_function() {",
173+
"<span class=\"boring\">fn some_other_function() {",
174+
];
172175

173176
assert_contains_strings(nested, &text);
174177
}

0 commit comments

Comments
 (0)