about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-11 16:36:31 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-11 16:36:31 +0100
commitc951ed7fb6daa7dff6dfb3e648576488f74ccaee (patch)
tree57d607fe9f3d7eaea3e875ef23da177111dae11d /src/test
parentbae454edc5e18e81b831baf4a7647bf2dda620a8 (diff)
downloadrust-c951ed7fb6daa7dff6dfb3e648576488f74ccaee.tar.gz
rust-c951ed7fb6daa7dff6dfb3e648576488f74ccaee.zip
Add tested item in the rustdoc --test output
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-make/issue-22131/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/issue-22131/Makefile b/src/test/run-make/issue-22131/Makefile
index f65cc9e06a3..64af91b487b 100644
--- a/src/test/run-make/issue-22131/Makefile
+++ b/src/test/run-make/issue-22131/Makefile
@@ -4,4 +4,4 @@ all: foo.rs
 	$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
 	$(HOST_RPATH_ENV) '$(RUSTDOC)' --test --cfg 'feature="bar"' \
 		-L $(TMPDIR) foo.rs |\
-		grep -q 'foo.rs - line 11 ... ok'
+		grep -q 'foo.rs - foo (line 11) ... ok'