Skip to content

Commit c5dc4c7

Browse files
Add regression test for #122722
1 parent 2195854 commit c5dc4c7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include ../tools.mk
2+
3+
# Test that rustdoc will properly load in a theme file and display it in the theme selector.
4+
5+
OUTPUT_DIR := "$(TMPDIR)/rustdoc-test-args"
6+
7+
all:
8+
yes -- --cfg=A | head -n 100000 > cfgs
9+
$(RUSTDOC) --test @cfgs foo.rs
10+
rm cfgs
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//! ```
2+
//! let x = 12;
3+
//! ```

0 commit comments

Comments
 (0)