1
Fork 0

test: update tests for flt2dec fallouts.

This commit is contained in:
Kang Seonghoon 2015-04-20 02:47:38 +09:00
parent f9bfda0a6f
commit 85424c4bae
2 changed files with 6 additions and 6 deletions

View file

@ -3011,9 +3011,9 @@ mod tests {
let v: i64 = super::decode("9223372036854775807").unwrap();
assert_eq!(v, i64::MAX);
let res: DecodeResult<i64> = super::decode("765.25252");
let res: DecodeResult<i64> = super::decode("765.25");
assert_eq!(res, Err(ExpectedError("Integer".to_string(),
"765.25252".to_string())));
"765.25".to_string())));
}
#[test]