Skip to content

Commit 3c520a9

Browse files
committed
Rubocop - Metrics/LineLength
1 parent e80398f commit 3c520a9

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

android_tests/lib/android/specs/android/helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# rubocop:disable Metrics/LineLength
2+
13
# rake android[android/helper]
24
describe 'android/helper' do
35
t 'tags' do

android_tests/lib/android/specs/common/helper.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
# regular rescue will not handle exceptions outside of StandardError hierarchy
5151
# must rescue Exception explicitly to rescue everything
5252
proc { wait_true(wait_opts) { fail NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
53-
proc { wait_true(timeout: 0.2, interval: 0.0) { fail NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
53+
proc { wait_true(timeout: 0.2, interval: 0.0) { fail NoMemoryError } }
54+
.must_raise Selenium::WebDriver::Error::TimeOutError
5455

5556
# invalid keys are rejected
5657
proc { wait_true(invalidkey: 2) { true } }.must_raise RuntimeError

android_tests/lib/android/specs/common/patch.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# rubocop:disable Lint/RescueException
2+
# rubocop:disable Metrics/LineLength
23

34
# Skip:
45
# status # status patches are already tested in driver.rb

0 commit comments

Comments
 (0)