From 4bbed1603f9fe7f8a8acebbb36c02c23ed9929ba Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Thu, 31 Jul 2014 13:28:03 +0200 Subject: [PATCH] The default version is 1.0.3, not 1.0 The conformance suite is run against 1.0.3 by default, not 1.0 anymore. --- Rakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index af8cbbd..fe84935 100644 --- a/Rakefile +++ b/Rakefile @@ -27,13 +27,13 @@ end task 'test:unit' => :compile -desc 'Run conformance tests (MARKDOWN_TEST_VER=1.0)' +desc 'Run conformance tests (MARKDOWN_TEST_VER=1.0.3)' task 'test:conformance' => :compile do |t| - script = "#{pwd}/bin/redcarpet" - test_version = ENV['MARKDOWN_TEST_VER'] || '1.0.3' + script = "#{pwd}/bin/redcarpet" + version = ENV['MARKDOWN_TEST_VER'] || '1.0.3' lib_dir = "#{pwd}/lib" - chdir("test/MarkdownTest_#{test_version}") do + chdir("test/MarkdownTest_#{version}") do sh "RUBYLIB=#{lib_dir} ./MarkdownTest.pl --script='#{script}' --tidy" end end