Good catch with the tests, please also update the message "still member even if banned". (That test can be simplified, it was written before I made banning also a kick.)
What are you trying to solve with that lowercasing?
Perhaps the lowercasing should be in acct_to_server() instead (and change it to return String)? That one added alloc probably won't hurt
Good catch with the tests, please also update the message "still member even if banned". (That test can be simplified, it was written before I made banning also a kick.)
What are you trying to solve with that lowercasing?
Perhaps the lowercasing should be in `acct_to_server()` instead (and change it to return String)? That one added alloc probably won't hurt
Perhaps the lowercasing should be in acct_to_server() instead (and change it to return String)? That one added alloc probably won't hurt
makes sense, so it also applies during authentication. done
> please also update the message "still member even if banned"
done
> What are you trying to solve with that lowercasing?
```rust
assert_eq!(
Ok("piggo@banana.nana".into()),
normalize_acct("piGGo", "foo@baNANA.nana")
);
```
> Perhaps the lowercasing should be in acct_to_server() instead (and change it to return String)? That one added alloc probably won't hurt
makes sense, so it also applies during authentication. done
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Good catch with the tests, please also update the message "still member even if banned". (That test can be simplified, it was written before I made banning also a kick.)
What are you trying to solve with that lowercasing?
Perhaps the lowercasing should be in
acct_to_server()instead (and change it to return String)? That one added alloc probably won't hurtdone
makes sense, so it also applies during authentication. done
thanks, i'll try to merge it tonight
Great! When you do, could you also make a point release so I don't have to disable tests / apply patches on the current one when packaging it?
Thanks for the release!