Skip to content

Commit

Permalink
Add test for help output with -W
Browse files Browse the repository at this point in the history
  • Loading branch information
inashivb committed Apr 28, 2022
1 parent 7104524 commit 4d548f9
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/run-make/issue-88756-opt-help/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-include ../../run-make-fulldeps/tools.mk

all:
$(RUSTDOC) -W help 2>&1 | diff - output-default.stdout
1 change: 1 addition & 0 deletions src/test/run-make/issue-88756-opt-help/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a test to verify that `rustdoc` behaves the same as rustc and prints out help output for its options like -W (#88756).
Loading

0 comments on commit 4d548f9

Please sign in to comment.