Skip to content

Commit 6d33076

Browse files
committed
lint fixes
1 parent e5fd308 commit 6d33076

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rb/lib/selenium/webdriver/common/options.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def w3c?(key)
131131

132132
def process_w3c_options(options)
133133
w3c_options = options.select { |key, val| w3c?(key) && !val.nil? }
134-
w3c_options[:unhandled_prompt_behavior] &&= process_unhandled_prompt_behavior_value(w3c_options[:unhandled_prompt_behavior])
134+
w3c_options[:unhandled_prompt_behavior] &&=
135+
process_unhandled_prompt_behavior_value(w3c_options[:unhandled_prompt_behavior])
135136
options.delete_if { |key, _val| w3c?(key) }
136137
w3c_options
137138
end

rb/spec/unit/selenium/webdriver/chrome/options_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ module Chrome
275275
before_unload: 'accept',
276276
default: :dismiss
277277
})
278-
278+
279279
expect(opts.as_json).to eq('browserName' => 'chrome',
280280
'unhandledPromptBehavior' => {
281281
'alert' => 'accept and notify',

0 commit comments

Comments
 (0)