From 806014bf3aaa3eb19178ef808118ec8334972854 Mon Sep 17 00:00:00 2001 From: Phil Ross Date: Sat, 27 Jan 2018 18:20:40 +0000 Subject: [PATCH] Remove unnecessary calls to Country.get in tests. Fixes assigned by unused variable warning on Ruby 2.5.0. --- test/tc_country.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/tc_country.rb b/test/tc_country.rb index 727df30c..4de8c5b7 100644 --- a/test/tc_country.rb +++ b/test/tc_country.rb @@ -190,7 +190,6 @@ def test_reload # If country gets reloaded for some reason, it needs to force a reload of # the country index. - c = Country.get('US') assert_equal('US', Country.get('US').code) # Suppress redefined method warnings. @@ -198,7 +197,6 @@ def test_reload load 'tzinfo/country.rb' end - c = Country.get('US') assert_equal('US', Country.get('US').code) end