inflect to inflect-rs
This commit is contained in:
parent
bec968ac26
commit
2730296c14
5 changed files with 11 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use inflect::*;
|
||||
use inflect_rs::*;
|
||||
|
||||
#[test]
|
||||
fn test_enclose() {
|
||||
|
|
@ -47,7 +47,9 @@ fn test_si_pron() {
|
|||
assert_eq!("him", get_si_pron("acc", "them", Some("masculine")));
|
||||
assert_eq!("her", get_si_pron("acc", "them", Some("feminine")));
|
||||
assert_eq!("it", get_si_pron("acc", "them", Some("neuter")));
|
||||
assert_eq!("you", get_si_pron("acc", "you", None));
|
||||
assert_eq!("themselves", get_si_pron("acc", "itself", None));
|
||||
|
||||
assert_ne!("him", get_si_pron("acc", "them", Some("feminine")));
|
||||
assert_ne!("her", get_si_pron("acc", "them", Some("masculine")));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue