extern crate toml; #[test] fn bad() { fn bad(s: &str) { assert!(s.parse::().is_err()); } bad("a = 01"); bad("a = 1__1"); bad("a = 1_"); bad("''"); bad("a = 9e99999"); bad("a = \"\u{7f}\""); bad("a = '\u{7f}'"); }