File tree 2 files changed +3
-1
lines changed
ios_tests/lib/ios/specs/common
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ def before_first
59
59
# regular rescue will not handle exceptions outside of StandardError hierarchy
60
60
# must rescue Exception explicitly to rescue everything
61
61
proc { wait_true ( wait_opts ) { fail NoMemoryError } } . must_raise Selenium ::WebDriver ::Error ::TimeOutError
62
- proc { wait_true ( timeout : 0.2 , interval : 0.0 ) { fail NoMemoryError } } . must_raise Selenium ::WebDriver ::Error ::TimeOutError
62
+ proc { wait_true ( timeout : 0.2 , interval : 0.0 ) { fail NoMemoryError } }
63
+ . must_raise Selenium ::WebDriver ::Error ::TimeOutError
63
64
64
65
# invalid keys are rejected
65
66
proc { wait_true ( invalidkey : 2 ) { true } } . must_raise RuntimeError
Original file line number Diff line number Diff line change 1
1
# rubocop:disable Lint/RescueException
2
+ # rubocop:disable Metrics/LineLength
2
3
3
4
#
4
5
# Skip:
You can’t perform that action at this time.
0 commit comments