From 150de61c0bef219f1433ffb2070c1d3063441b8b Mon Sep 17 00:00:00 2001 From: "Tobias L. Maier" Date: Mon, 17 Apr 2017 00:20:47 +0200 Subject: [PATCH] Fix spelling error It is #freeze, not #frozen --- test/language_list_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/language_list_test.rb b/test/language_list_test.rb index 64f46fd..ba4ae20 100755 --- a/test/language_list_test.rb +++ b/test/language_list_test.rb @@ -36,7 +36,7 @@ def test_find_by_iso_639_1_with_empty_string end def test_find_by_iso_639_1_with_frozen_string - english = LanguageList::LanguageInfo.find_by_iso_639_1('en'.frozen) + english = LanguageList::LanguageInfo.find_by_iso_639_1('en'.freeze) assert_equal 'en', english.iso_639_1 assert_equal 'eng', english.iso_639_3 assert_equal 'English', english.name @@ -60,7 +60,7 @@ def test_find_by_iso_639_3_with_empty_string end def test_find_by_iso_639_3_with_frozen_string - english = LanguageList::LanguageInfo.find_by_iso_639_3('eng'.frozen) + english = LanguageList::LanguageInfo.find_by_iso_639_3('eng'.freeze) assert_equal 'en', english.iso_639_1 assert_equal 'eng', english.iso_639_3 assert_equal 'English', english.name @@ -77,7 +77,7 @@ def test_find_by_name_with_empty_string end def test_find_by_name_with_frozen_string - english = LanguageList::LanguageInfo.find_by_name('English'.frozen) + english = LanguageList::LanguageInfo.find_by_name('English'.freeze) assert_equal 'en', english.iso_639_1 assert_equal 'eng', english.iso_639_3 assert_equal 'eng', english.iso_639_2b @@ -112,7 +112,7 @@ def test_find_with_empty_string end def test_find_with_frozen_string - english = LanguageList::LanguageInfo.find('EN'.frozen) + english = LanguageList::LanguageInfo.find('EN'.freeze) assert_equal 'en', english.iso_639_1 assert_equal 'eng', english.iso_639_3 assert_equal 'English', english.name