@@ -128,7 +128,7 @@ use foo$0::Foo;
128128//- /lib.rs crate:foo
129129pub struct Foo;
130130"# ,
131- Some ( & OsStr :: new ( "/home/user/project/ " ) ) ,
131+ Some ( & OsStr :: new ( "/home/user/project" ) ) ,
132132 Some ( expect ! [ [ r#"https://docs.rs/foo/*/foo/index.html"# ] ] ) ,
133133 Some ( expect ! [ [ r#"file:///home/user/project/doc/foo/index.html"# ] ] ) ,
134134 ) ;
@@ -141,7 +141,7 @@ fn external_docs_doc_url_std_crate() {
141141//- /main.rs crate:std
142142use self$0;
143143"# ,
144- Some ( & OsStr :: new ( "/home/user/project/ " ) ) ,
144+ Some ( & OsStr :: new ( "/home/user/project" ) ) ,
145145 Some ( expect ! [ "https://doc.rust-lang.org/stable/std/index.html" ] ) ,
146146 None ,
147147 ) ;
@@ -154,7 +154,7 @@ fn external_docs_doc_url_struct() {
154154//- /main.rs crate:foo
155155pub struct Fo$0o;
156156"# ,
157- Some ( & OsStr :: new ( "/home/user/project/ " ) ) ,
157+ Some ( & OsStr :: new ( "/home/user/project" ) ) ,
158158 Some ( expect ! [ [ r#"https://docs.rs/foo/*/foo/struct.Foo.html"# ] ] ) ,
159159 Some ( expect ! [ [ r#"file:///home/user/project/doc/foo/struct.Foo.html"# ] ] ) ,
160160 ) ;
@@ -169,7 +169,7 @@ pub struct Fo$0o;
169169"# ,
170170 Some ( & OsStr :: new ( r"C:\Users\user\project" ) ) ,
171171 Some ( expect ! [ [ r#"https://docs.rs/foo/*/foo/struct.Foo.html"# ] ] ) ,
172- Some ( expect ! [ [ r#"file:///C:\ Users\ user\ project/doc/foo/struct.Foo.html"# ] ] ) ,
172+ Some ( expect ! [ [ r#"file:///C:/ Users/ user/ project/doc/foo/struct.Foo.html"# ] ] ) ,
173173 ) ;
174174}
175175
0 commit comments