diff options
Diffstat (limited to 'src-tauri/src/util.rs')
-rw-r--r-- | src-tauri/src/util.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src-tauri/src/util.rs b/src-tauri/src/util.rs index 6466e2b8..ba686cd0 100644 --- a/src-tauri/src/util.rs +++ b/src-tauri/src/util.rs @@ -240,6 +240,14 @@ mod tests { use super::*; #[test] + fn test_not_release_candidate() { + let input = "v1.2.3".to_string(); + let output = convert_release_candidate_number(input.clone()); + let expected_output = input; + assert_eq!(output, expected_output); + } + + #[test] fn test_basic_release_candidate_number_conversion() { let input = "v1.2.3-rc4".to_string(); let output = convert_release_candidate_number(input); |