aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Berg <vitiral@gmail.com>2017-08-13 17:33:35 -0600
committerGarrett Berg <vitiral@gmail.com>2017-08-13 17:34:36 -0600
commitd17c881c09449fa7f3d05b5fd406563d43d6ef5c (patch)
tree96475db6c8074841c6f1363b64aa1e93fe37adf5
parentbe0f6fac0fcd0685e9da0c0afbeb1570fbf3e827 (diff)
downloadmilf-rs-d17c881c09449fa7f3d05b5fd406563d43d6ef5c.tar.gz
milf-rs-d17c881c09449fa7f3d05b5fd406563d43d6ef5c.zip
close #209: remove FIXME, appears to have been invalid
-rw-r--r--tests/pretty.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/pretty.rs b/tests/pretty.rs
index ce906d9..19ed22d 100644
--- a/tests/pretty.rs
+++ b/tests/pretty.rs
@@ -261,11 +261,15 @@ fn table_array() {
assert_eq!(toml, &result);
}
-// FIXME: add the `glass` line to this. Unfortunately there seems to
-// be an issue with the deserialization module that treats the first \n
-// as a real newline in that case (not cool)
const PRETTY_TRICKY_NON_LITERAL: &'static str = r##"[example]
f = "\f"
+glass = """
+Nothing too unusual, except that I can eat glass in:
+- Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.
+- Polish: Mogę jeść szkło, i mi nie szkodzi.
+- Hindi: मैं काँच खा सकता हूँ, मुझे उस से कोई पीडा नहीं होती.
+- Japanese: 私はガラスを食べられます。それは私を傷つけません。
+"""
plain = """
This has a couple of lines
Because it likes to.