Skip to content

Commit 5b6a0a2

Browse files
committed
Merge pull request #124 from oauth-xx/silence_ivar_not_initialized
Silencing a warning for ivar not initialized
2 parents bc6cc62 + 83e5022 commit 5b6a0a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cases/oauth_case.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
class OAuthCase < Minitest::Test
77
# avoid whining about a lack of tests
88
def run(*args)
9+
@method_name ||= nil
910
return if @method_name.to_s == "default_test"
1011
super
1112
end

0 commit comments

Comments
 (0)