diff --git a/spec/shared_specs.rb b/spec/shared_specs.rb
index <HASH>..<HASH> 100644
--- a/spec/shared_specs.rb
+++ b/spec/shared_specs.rb
@@ -75,6 +75,11 @@ module SharedSpecs
           result.should == { "foo" => "" }
         end
 
+        it "correctly reverse-translates strings encoded via #to_yaml" do
+          parse "5.10".to_yaml
+          result.should == "5.10"
+        end
+
         it "does not specially parse any double-quoted strings" do
           parse <<-YAML
             - "1"
added a spec to directly cover the example input supplied for #<I>