From d17c881c09449fa7f3d05b5fd406563d43d6ef5c Mon Sep 17 00:00:00 2001 From: Garrett Berg Date: Sun, 13 Aug 2017 17:33:35 -0600 Subject: close #209: remove FIXME, appears to have been invalid --- tests/pretty.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tests') 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. -- cgit v1.2.3