Skip to content

Commit

Permalink
fix integration test typo : age_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
asuper0 authored and tu6ge committed Sep 7, 2023
1 parent caff932 commit cff68d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn test_validator() {
}

fn age_limit(v: &mut Value) -> Result<(), String> {
if let Value::Int8(n) = v {
if let Value::UInt8(n) = v {
if *n >= 25 && *n <= 45 {
return Ok(());
}
Expand Down

0 comments on commit cff68d8

Please sign in to comment.