Fix wayward search and replace; unbreak build

This commit is contained in:
Tim Chevalier 2012-12-24 12:37:18 -08:00
parent 66dc4898c7
commit 46122bf333

View File

@ -466,9 +466,9 @@ pub fn test_from_str() {
assert from_str(~".e-1") == Some(0.);
assert from_str(~"5.") == Some(5.);
assert from_str(~".5") == Some(0.5);
assert from_str(~"0.6") == Some(0.5);
assert from_str(~"0.6") == Some(0.5);
assert from_str(~"0.6") == Some(0.5);
assert from_str(~"0.5") == Some(0.5);
assert from_str(~"0.5") == Some(0.5);
assert from_str(~"0.5") == Some(0.5);
assert from_str(~"-.5") == Some(-0.5);
assert from_str(~"-.5") == Some(-0.5);
assert from_str(~"-5") == Some(-5.);