Enabled frozen string literals

This commit is contained in:
Mike Angell
2019-09-16 12:54:33 +10:00
parent 9a42c8c8b2
commit 7abb8a3554
121 changed files with 380 additions and 151 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'test_helper'
class ContextDrop < Liquid::Drop
@@ -31,7 +33,7 @@ class ProductDrop < Liquid::Drop
class CatchallDrop < Liquid::Drop
def liquid_method_missing(method)
'catchall_method: ' << method.to_s
+'catchall_method: ' << method.to_s
end
end
@@ -48,7 +50,7 @@ class ProductDrop < Liquid::Drop
end
def user_input
"foo".taint
(+"foo").taint
end
protected