Skip to content

Commit 39659a1

Browse files
Add test for copy image feature
1 parent f0472c9 commit 39659a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/rustdoc/copy-local-img.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#![crate_name = "foo"]
2+
3+
// @has static/8a40d4987fbb905
4+
// @has foo/struct.Enum.html
5+
// @has - '//img[@src="../static/8a40d4987fbb905"]' ''
6+
7+
/// Image test!
8+
///
9+
/// ![osef](src/test/rustdoc/copy-local-img.rs)
10+
pub struct Enum;

0 commit comments

Comments
 (0)