1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-24 15:52:40 +01:00

Fix rubocop lint tests

Summary: Fix tests to work with rubocop 0.92.0 released on September 25, 2020

Test Plan: Unit tests pass

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D21474
This commit is contained in:
bootstraponline 2020-09-30 15:19:04 +00:00 committed by bootstraponline
parent 524aa2aed2
commit 04e340ab0f
3 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,6 @@
def hello() def hello()
end end
~~~~~~~~~~ ~~~~~~~~~~
warning:1:10:- warning:1:1
warning:1:1
warning:1:10

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
def hello def hello
puts 'hello world' puts 'hello world'
end end

View file

@ -1,5 +1,7 @@
# frozen_string_literal: true
def hello(unused) def hello(unused)
puts 'hi' puts 'hi'
end end
~~~~~~~~~ ~~~~~~~~~
warning:1:11 warning:3:11