Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
some progress
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jan 21, 2018
1 parent 40a75f6 commit c03b471
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ fn test_float() {
-.inf");
test_serde(&thing, &yaml);

assert!(serde_yaml::from_str(&unindent("
let float: f64 = serde_yaml::from_str(&unindent("
---
.nan")).unwrap().is_nan());
.nan")).unwrap();
assert!(float.is_nan());
}

#[test]
Expand Down

0 comments on commit c03b471

Please sign in to comment.