From 3ad6e71f53a87215fb5286bcf87de15524699561 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 12 Nov 2017 17:26:09 -0800 Subject: Move tests into their own crate --- tests/invalid-misc.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 tests/invalid-misc.rs (limited to 'tests/invalid-misc.rs') diff --git a/tests/invalid-misc.rs b/tests/invalid-misc.rs deleted file mode 100644 index bb70b97..0000000 --- a/tests/invalid-misc.rs +++ /dev/null @@ -1,17 +0,0 @@ -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 = nan"); - bad("a = -inf"); - bad("a = inf"); - bad("a = 9e99999"); -} -- cgit v1.2.3