aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2019-08-23 09:55:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-08-23 09:55:15 -0700
commit994b0e2fcb762bfbde2121a2baedd533d97a2475 (patch)
tree883a0088c07f3b2efa494a2348297f0b28f667ac /test-suite/tests/valid.rs
parent4951dc400c1beda4cba25fe72d733a24758063f7 (diff)
downloadmilf-rs-994b0e2fcb762bfbde2121a2baedd533d97a2475.tar.gz
milf-rs-994b0e2fcb762bfbde2121a2baedd533d97a2475.zip
Allow zero-prefixed float exponents. (#322)
Diffstat (limited to 'test-suite/tests/valid.rs')
-rw-r--r--test-suite/tests/valid.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/tests/valid.rs b/test-suite/tests/valid.rs
index 6914edd..e080958 100644
--- a/test-suite/tests/valid.rs
+++ b/test-suite/tests/valid.rs
@@ -368,3 +368,9 @@ test!(
include_str!("valid/quote-surrounded-value.toml"),
include_str!("valid/quote-surrounded-value.json")
);
+
+test!(
+ float_exponent,
+ include_str!("valid/float-exponent.toml"),
+ include_str!("valid/float-exponent.json")
+);