MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_validate_password_complexity_error

Function test_validate_password_complexity_error

client/src/cmds.rs:975–980  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

973
974 #[test]
975 fn test_validate_password_complexity_error() {
976 validate_password_complexity("a").unwrap_err().contains("8 characters");
977 validate_password_complexity("abcdefg").unwrap_err().contains("8 characters");
978 validate_password_complexity("long enough").unwrap_err().contains("letters and numbers");
979 validate_password_complexity("1234567890").unwrap_err().contains("letters and numbers");
980 }
981
982 #[test]
983 fn test_signup_ok() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected