# encoding: utf-8 require 'test/helper' class Nanoc3::Helpers::HTMLEscapeTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers include Nanoc3::Helpers::HTMLEscape def test_html_escape assert_equal('<', html_escape('<')) assert_equal('>', html_escape('>')) assert_equal('&', html_escape('&')) assert_equal('"', html_escape('"')) end end