mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
add strip_prefix test
This commit is contained in:
parent
d08c2fed29
commit
667e42788e
2 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
#[cfg(test)]
|
||||
#[test]
|
||||
fn strip_prefix() {
|
||||
assert_eq!(super::strip_prefix("source:gemini".into()), "gemini");
|
||||
assert_eq!(super::strip_prefix("download:gemini".into()), "gemini");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue