Skip to content

Commit

Permalink
removed test when it is included in the doc example test.
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptandcompile committed Jun 9, 2024
1 parent 3680dfe commit ab6eaac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ciphers/morse_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,4 @@ mod tests {

assert_eq!(expected, result);
}

#[test]
fn test_decode() {
let message = ".... . .-.. .-.. --- / -- --- .-. ... .";
let cipher = decode(message).unwrap();
assert_eq!(cipher, "HELLO MORSE");
}
}

0 comments on commit ab6eaac

Please sign in to comment.