aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-13 21:02:01 -0700
committerGitHub <noreply@github.com>2017-08-13 21:02:01 -0700
commit4d3f040cef5cbbcffc397315a72202a94183f3e8 (patch)
tree96475db6c8074841c6f1363b64aa1e93fe37adf5 /tests
parentbe0f6fac0fcd0685e9da0c0afbeb1570fbf3e827 (diff)
parentd17c881c09449fa7f3d05b5fd406563d43d6ef5c (diff)
downloadmilf-rs-4d3f040cef5cbbcffc397315a72202a94183f3e8.tar.gz
milf-rs-4d3f040cef5cbbcffc397315a72202a94183f3e8.zip
Merge pull request #210 from vitiral/rm-fixme
close #209: remove FIXME, appears to have been invalid
Diffstat (limited to 'tests')
-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.