Skip to content

Commit a177355

Browse files
committed
renamed Bar in scrape_examples_ice test
1 parent 4ad8469 commit a177355

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/rustdoc-gui/scrape-examples-ice-links.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Check that the line number column has the correct layout.
2-
go-to: "file://" + |DOC_PATH| + "/scrape_examples_ice/struct.Bar.html"
2+
go-to: "file://" + |DOC_PATH| + "/scrape_examples_ice/struct.ObscurelyNamedType1.html"
33
wait-for: ".scraped-example-title"
44
assert-attribute: (".scraped-example-title a", {"href": "../src/bar/bar.rs.html#2"})
55
click: ".scraped-example-title a"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fn main() {
2-
let mut bar = scrape_examples_ice::Bar::new();
2+
let mut bar = scrape_examples_ice::ObscurelyNamedType1::new();
33
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//@ run-flags:-Zrustdoc-scrape-examples
22
//@ compile-flags: --theme custom-theme.css
3-
pub struct Bar;
3+
pub struct ObscurelyNamedType1;
44

5-
impl Bar {
5+
impl ObscurelyNamedType1 {
66
pub fn new() -> Self {
7-
Bar
7+
ObscurelyNamedType1
88
}
99
}

0 commit comments

Comments
 (0)