summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/text/unnormalize_spec.rb
blob: 7b507194d07d6d94e437436cf44ac6ed851b3c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../../spec_helper'

ruby_version_is ''...'3.0' do
  require 'rexml/document'

  describe "REXML::Text.unnormalize" do
    it "unescapes a string with the values defined in SETUTITSBUS" do
      REXML::Text.unnormalize("&lt; &gt; &amp; &quot; &apos;").should == "< > & \" '"
    end
  end
end