From 655cf3b3a8e4738d5bd3338b8158604360da3e84 Mon Sep 17 00:00:00 2001 From: xiaojian cai Date: Wed, 9 Jan 2013 16:23:58 +0800 Subject: [PATCH] Update test/test_site.rb --- test/test_site.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_site.rb b/test/test_site.rb index 03f1886e..fe4fab49 100644 --- a/test/test_site.rb +++ b/test/test_site.rb @@ -159,11 +159,11 @@ class TestSite < Test::Unit::TestCase end should "not filter entries within include" do - includes = %w[_index.html .htaccess] - files = %w[index.html _index.html .htaccess] + includes = %w[_index.html .htaccess include*] + files = %w[index.html _index.html .htaccess includeA] @site.include = includes - assert_equal files, @site.filter_entries(files) + assert_equal files, @site.filter_entries(files + ["includeA"]) end context 'error handling' do