diff options
author | David Tolnay <dtolnay@gmail.com> | 2017-11-12 17:26:09 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2017-11-12 19:33:11 -0800 |
commit | 3ad6e71f53a87215fb5286bcf87de15524699561 (patch) | |
tree | f9ac5154af7984a7c65b903869487c11baee3596 /tests/invalid-misc.rs | |
parent | 3b77b5fb6520c7bf13be6308978efa8a185d0c12 (diff) | |
download | milf-rs-3ad6e71f53a87215fb5286bcf87de15524699561.tar.gz milf-rs-3ad6e71f53a87215fb5286bcf87de15524699561.zip |
Move tests into their own crate
Diffstat (limited to 'tests/invalid-misc.rs')
-rw-r--r-- | tests/invalid-misc.rs | 17 |
1 files changed, 0 insertions, 17 deletions
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::<toml::Value>().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"); -} |