# frozen_string_literal: true require 'helper' class Nanoc::Filters::RubyPantsTest < Nanoc::TestCase def test_filter if_have 'rubypants' do # Get filter filter = ::Nanoc::Filters::RubyPants.new # Run filter result = filter.setup_and_run('Wait---what?') assert_equal('Wait—what?', result) end end end