diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-01-15 19:47:14 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-15 19:47:56 -0800 |
commit | 3536cb50e646a8a9e5f26dce9a25bab101793126 (patch) | |
tree | a8f00ba67dabd5cab7c37ca538abb4fb42508f68 /tests/invalid.rs | |
parent | 46a70861d5c05fa59ec95bdc08775159162dcf64 (diff) | |
download | milf-rs-3536cb50e646a8a9e5f26dce9a25bab101793126.tar.gz milf-rs-3536cb50e646a8a9e5f26dce9a25bab101793126.zip |
Update key syntax to TOML master
* Bare keys contain a very limited set of characters now.
* Keys in quotes behave the same as basic strings.
Closes #47
Diffstat (limited to 'tests/invalid.rs')
-rw-r--r-- | tests/invalid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/invalid.rs b/tests/invalid.rs index 582e25d..3df4d02 100644 --- a/tests/invalid.rs +++ b/tests/invalid.rs @@ -5,8 +5,8 @@ use toml::{Parser}; fn run(toml: &str) { let mut p = Parser::new(toml); let table = p.parse(); - assert!(p.errors.len() > 0); assert!(table.is_none()); + assert!(p.errors.len() > 0); } macro_rules! test( ($name:ident, $toml:expr) => ( |