]> git.lizzy.rs Git - rust.git/commitdiff
Update run-make/issue-22131 to new rustdoc --test format
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 28 Jan 2017 17:26:37 +0000 (18:26 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 3 Feb 2017 10:08:20 +0000 (11:08 +0100)
src/test/run-make/issue-22131/Makefile

index 1e8568626a6a15d25c30ee27871e18badca1ccc7..f65cc9e06a329486e467e2071605dd08cbfb1684 100644 (file)
@@ -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 'test foo_0 ... ok'
+               grep -q 'foo.rs - line 11 ... ok'