From 47d89ae27fe4da49e3ac16cf33007b84edba9a2c Mon Sep 17 00:00:00 2001 From: Luca Beetz Date: Wed, 4 Sep 2019 18:34:19 +0200 Subject: [PATCH] Remove ui/ from TESTNAME for foo lint example --- doc/adding_lints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/adding_lints.md b/doc/adding_lints.md index 1fb26c66d9f..1f443000d6b 100644 --- a/doc/adding_lints.md +++ b/doc/adding_lints.md @@ -77,7 +77,7 @@ fn main() { ``` -Now we can run the test with `TESTNAME=ui/foo_functions cargo uitest`. +Now we can run the test with `TESTNAME=foo_functions cargo uitest`. Currently this test will fail. If you go through the output you will see that we are told that `clippy::foo_functions` is an unknown lint, which is expected.