Sha256: 69b454b3478ac4bb0f9fb9c7ca6b5e04223bea2f10555510b9e4379f568a6a6c
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# encoding: utf-8 require 'helper' class Nanoc::External::FilterTest < Minitest::Test def test_filter filter = ::Nanoc::External::Filter.new({}) src = <<-SHAKESPEARE Shall I compare thee to a Summer's day? Thou art more lovely and more temperate SHAKESPEARE assert_match(/^\s*2\s*$/, filter.run(src, :exec => 'wc', :options => %w( -l ) )) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nanoc-external-1.0.1 | test/filters/test_external.rb |
nanoc-external-1.0.0 | test/filters/test_external.rb |