diff options
author | Tim Oram <dev@mitmaro.ca> | 2019-10-17 18:50:42 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2019-10-17 21:08:58 -0230 |
commit | f6ada6c99d6c22fb863efc12fc6bca4693939c62 (patch) | |
tree | a81ae0bc2565917fbfbb054267279904e76d38c2 | |
parent | 3cb11065ea676db0b8bfc8f63f4a1b15b4daa4da (diff) |
Add missing test for noop in Action
-rw-r--r-- | src/action.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/action.rs b/src/action.rs index c9e08cb..dc72af3 100644 --- a/src/action.rs +++ b/src/action.rs @@ -233,6 +233,11 @@ mod tests { } #[test] + fn action_to_abbreviation_noop() { + assert_eq!(Action::Noop.to_abbreviation(), "n"); + } + + #[test] fn action_to_abbreviation_pick() { assert_eq!(Action::Pick.to_abbreviation(), "p"); } |