Revert "Fix spacing"

This reverts commit 26eb27f79f.
This commit is contained in:
Mike Angell
2019-09-20 02:42:21 +10:00
parent 26eb27f79f
commit 00c8ca559a
78 changed files with 500 additions and 508 deletions
+5 -5
View File
@@ -8,8 +8,8 @@ $LOAD_PATH.unshift(File.join(File.expand_path(__dir__), '..', 'lib'))
require 'liquid.rb'
require 'liquid/profiler'
mode = :strict
if (env_mode = ENV['LIQUID_PARSER_MODE'])
mode = :strict
if (env_mode = ENV['LIQUID_PARSER_MODE'])
puts "-- #{env_mode.upcase} ERROR MODE"
mode = env_mode.to_sym
end
@@ -71,7 +71,7 @@ module Minitest
end
def with_taint_mode(mode)
old_mode = Liquid::Template.taint_mode
old_mode = Liquid::Template.taint_mode
Liquid::Template.taint_mode = mode
yield
ensure
@@ -79,7 +79,7 @@ module Minitest
end
def with_error_mode(mode)
old_mode = Liquid::Template.error_mode
old_mode = Liquid::Template.error_mode
Liquid::Template.error_mode = mode
yield
ensure
@@ -128,7 +128,7 @@ class StubFileSystem
def initialize(values)
@file_read_count = 0
@values = values
@values = values
end
def read_template_file(template_path)