From 9e24bae3428f726800da2963a8f2695f7d4064cd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 2 Jan 2016 22:29:12 +0000 Subject: enable frozen_string_literal for Ruby 2.3+ There are likely yet-to-be-discovered bugs in here. Also, keeping explicit #freeze calls for 2.2 users, since most users have not migrated to 2.3, yet. --- test/helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/helper.rb') diff --git a/test/helper.rb b/test/helper.rb index 5dca23f..445a0e6 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,6 @@ # Copyright (C) 2013-2015 all contributors # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +# frozen_string_literal: true $stdout.sync = $stderr.sync = Thread.abort_on_exception = true $-w = true if RUBY_VERSION.to_f >= 2.0 require 'thread' -- cgit v1.2.3-24-ge0c7