about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-27 01:37:53 +0000
committerbors <bors@rust-lang.org>2014-09-27 01:37:53 +0000
commit43d7d7c15e964c1cb506cbce90bb4b32b57281b8 (patch)
treece3d1c405d06461fb8de8ba58b7f62440be5d199 /src/doc
parentd64b4103d688f38c2e9e2daf966d50beeb383f1e (diff)
parentdcdbdc10036b444ef39c329e9440d4acc6975fda (diff)
auto merge of #17506 : sfackler/rust/cfg-attr, r=alexcrichton
cc #17490 

Reopening of #16230
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/guide-testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md
index 6fb198fbd2b..07813855d9b 100644
--- a/src/doc/guide-testing.md
+++ b/src/doc/guide-testing.md
@@ -72,8 +72,8 @@ is not used.
 Tests that should not be run can be annotated with the `ignore`
 attribute. The existence of these tests will be noted in the test
 runner output, but the test will not be run. Tests can also be ignored
-by configuration so, for example, to ignore a test on windows you can
-write `#[ignore(cfg(target_os = "win32"))]`.
+by configuration using the `cfg_attr` attribute so, for example, to ignore a
+test on windows you can write `#[cfg_attr(windows, ignore)]`.
 
 Tests that are intended to fail can be annotated with the
 `should_fail` attribute. The test will be run, and if it causes its