diff --git a/Note-style-guide.md b/Note-style-guide.md index 16cda0d..611e29e 100644 --- a/Note-style-guide.md +++ b/Note-style-guide.md @@ -58,10 +58,10 @@ avoid import of functions, instead `mod::func()` * Lines should not be longer than 100 characters. * Use spaces for indentation not tabs. -# Testing - -put tests in a test module at the bottom of the modules they test. Use `#[cfg(test)]` to only compile when testing. +# Unit testing + * Put tests in a test module at the bottom of the modules they test. + * Use `#[cfg(test)]` to only compile when testing. Example: ``` #[cfg(test)] mod test {