mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Proper warning support
This commit is contained in:
6
Rakefile
6
Rakefile
@@ -14,6 +14,12 @@ Rake::TestTask.new(:base_test) do |t|
|
||||
t.verbose = false
|
||||
end
|
||||
|
||||
desc 'run test suite with warn error mode'
|
||||
task :warn_test do
|
||||
ENV['LIQUID_PARSER_MODE'] = 'warn'
|
||||
Rake::Task['base_test'].invoke
|
||||
end
|
||||
|
||||
desc 'runs test suite with both strict and lax parsers'
|
||||
task :test do
|
||||
ENV['LIQUID_PARSER_MODE'] = 'lax'
|
||||
|
||||
Reference in New Issue
Block a user