additional test case
This commit is contained in:
parent
c899181a1b
commit
66d42bfd1d
1 changed files with 2 additions and 0 deletions
|
@ -23,7 +23,9 @@ mod tests {
|
||||||
fn test_usercase_mapped() {
|
fn test_usercase_mapped() {
|
||||||
let legal = "\u{0065}";
|
let legal = "\u{0065}";
|
||||||
let illegal = "\u{0000}";
|
let illegal = "\u{0000}";
|
||||||
|
let illegal2 = "@";
|
||||||
assert_eq!(filter(legal), Ok(()));
|
assert_eq!(filter(legal), Ok(()));
|
||||||
assert_eq!(filter(illegal), Err(CredsError::UsernameCaseMappedError));
|
assert_eq!(filter(illegal), Err(CredsError::UsernameCaseMappedError));
|
||||||
|
assert_eq!(filter(illegal2), Err(CredsError::UsernameCaseMappedError));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue