summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-11-29 14:58:59 +0900
committerGitHub <noreply@github.com>2017-11-29 14:58:59 +0900
commite3fab1f37364c96d9c0207428bc857533918beba (patch)
treee60caef044aefad8a74aec35fc0d6f917890fe1d /test
parent66fa05313b9b5831e1596777202b835ac0811086 (diff)
downloadpsych-e3fab1f37364c96d9c0207428bc857533918beba.zip
Revert "Double quote stings that contain single quotes only"
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_string.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/psych/test_string.rb b/test/psych/test_string.rb
index e80d191..973f38b 100644
--- a/test/psych/test_string.rb
+++ b/test/psych/test_string.rb
@@ -37,13 +37,6 @@ module Psych
assert_equal str, Psych.load(yaml)
end
- def test_doublequotes_when_there_are_single_quotes_only
- str = "psych: Please don't escape ' with ' here."
- yaml = Psych.dump str
- assert_equal "--- \"psych: Please don't escape ' with ' here.\"\n", yaml
- assert_equal str, Psych.load(yaml)
- end
-
def test_plain_when_shorten_than_line_width_and_no_final_line_break
str = "Lorem ipsum"
yaml = Psych.dump str, line_width: 12