From b900ae6107666deb601753eaa7abab0b299c006d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 21 Mar 2019 03:27:53 +0000 Subject: Support frozen_string_literal in test/**/*.rb (#26561). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/helpers') diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 90422ca95..a524c91b8 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang @@ -1432,7 +1432,7 @@ RAW end def test_parse_redmine_links_should_handle_a_tag_without_attributes - text = 'http://example.com' + text = +'http://example.com' expected = text.dup parse_redmine_links(text, nil, nil, nil, true, {}) assert_equal expected, text -- cgit v1.2.3