Skip to content

Commit

Permalink
Fixup in guide-testing.md
Browse files Browse the repository at this point in the history
Added back-quotes around #[cfg(test)] which was otherwise
being interpreted as starting a header
  • Loading branch information
remen authored and Petter Remen committed Jan 17, 2014
1 parent 93fb12e commit c6ad2de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/guide-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

5 comments on commit c6ad2de

@bors
Copy link
Contributor

@bors bors commented on c6ad2de Jan 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on c6ad2de Jan 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging remen/rust/patch-1 = c6ad2de into auto

@bors
Copy link
Contributor

@bors bors commented on c6ad2de Jan 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remen/rust/patch-1 = c6ad2de merged ok, testing candidate = fb40bdb

@bors
Copy link
Contributor

@bors bors commented on c6ad2de Jan 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on c6ad2de Jan 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = fb40bdb

Please sign in to comment.