Fixup in guide-testing.md
Added back-quotes around #[cfg(test)] which was otherwise being interpreted as starting a header
This commit is contained in:
parent
93fb12e3d0
commit
c6ad2de6f1
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue