Skip to content

Commit

Permalink
change to other than PI to avoid clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 2, 2024
1 parent dccb81a commit e9cc0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ mod tests {

#[test]
fn from_str_parses_float() {
let dt = DataType::from_str("3.14").unwrap();
assert_eq!(dt, DataType::Float(3.14));
let dt = DataType::from_str("3.5").unwrap();
assert_eq!(dt, DataType::Float(3.5));
}

#[test]
Expand Down

0 comments on commit e9cc0ef

Please sign in to comment.