From bc16d13d7926ad92a911763ffe825b2f71b630a5 Mon Sep 17 00:00:00 2001 From: Brint O'Hearn Date: Mon, 16 May 2016 19:31:43 -0500 Subject: [PATCH] Shortening messages to keep things down to one line where possible --- test/test_cleaner.rb | 3 +-- test/test_coffeescript.rb | 3 +-- test/test_collections.rb | 9 +++------ 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/test/test_cleaner.rb b/test/test_cleaner.rb index 5e421c07..d3072e54 100644 --- a/test/test_cleaner.rb +++ b/test/test_cleaner.rb @@ -37,8 +37,7 @@ class TestCleaner < JekyllUnitTest end end - context "not-nested directory in keep_files and similary named directory not "\ - "in keep_files" do + context "non-nested directory & similarly-named directory *not* in keep_files" do setup do clear_dest diff --git a/test/test_coffeescript.rb b/test/test_coffeescript.rb index 95c06db8..189ce05d 100644 --- a/test/test_coffeescript.rb +++ b/test/test_coffeescript.rb @@ -37,8 +37,7 @@ JS end should "write a JS file in place" do - assert_exist @test_coffeescript_file, "Can't find the converted CoffeeScript file "\ - "in the dest_dir." + assert_exist @test_coffeescript_file end should "produce JS" do diff --git a/test/test_collections.rb b/test/test_collections.rb index 4c0b8379..795c0d8b 100644 --- a/test/test_collections.rb +++ b/test/test_collections.rb @@ -113,8 +113,7 @@ class TestCollections < JekyllUnitTest @collection = @site.collections["methods"] end - should "create a Hash on Site with the label mapped to the instance of the "\ - "Collection" do + should "create a Hash mapping label to Collection instance" do assert @site.collections.is_a?(Hash) refute_nil @site.collections["methods"] assert @site.collections["methods"].is_a? Jekyll::Collection @@ -137,8 +136,7 @@ class TestCollections < JekyllUnitTest end end - should "not include files which start with an underscore in the base collection "\ - "directory" do + should "not include files from base dir which start with an underscore" do refute_includes @collection.filtered_entries, "_do_not_read_me.md" end @@ -187,8 +185,7 @@ class TestCollections < JekyllUnitTest refute_includes @collection.filtered_entries, "/um_hi.md" end - should "include the symlinked file in the list of docs as it resolves to inside "\ - "site.source" do + should "include the symlinked file from site.source in the list of docs" do assert_includes @collection.docs.map(&:relative_path), "_methods/um_hi.md" end end