diff options
| author | bors <bors@rust-lang.org> | 2014-01-18 03:41:42 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-18 03:41:42 -0800 |
| commit | fb40bdbb6295a989806e7c3dcc23631becdb702f (patch) | |
| tree | eef753ff9aa3d446530ecbdde6148deea3b20080 | |
| parent | 88dd987df0c1fdc64078c570e1712f1cc2e0d4ac (diff) | |
| parent | c6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b (diff) | |
| download | rust-fb40bdbb6295a989806e7c3dcc23631becdb702f.tar.gz rust-fb40bdbb6295a989806e7c3dcc23631becdb702f.zip | |
auto merge of #11614 : remen/rust/patch-1, r=alexcrichton
#[cfg(test)] was being interpreted as starting a header
| -rw-r--r-- | doc/guide-testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guide-testing.md b/doc/guide-testing.md index eeed3c7d9a7..84445ee08c2 100644 --- a/doc/guide-testing.md +++ b/doc/guide-testing.md @@ -63,8 +63,8 @@ mod tests { } ~~~ -Additionally #[test] items behave as if they also have the -#[cfg(test)] attribute, and will not be compiled when the --test flag +Additionally `#[test]` items behave as if they also have the +`#[cfg(test)]` attribute, and will not be compiled when the --test flag is not used. Tests that should not be run can be annotated with the 'ignore' |
