Skip to content

Commit 4d728bc

Browse files
committed
fix bazel formatting
1 parent 643dfe2 commit 4d728bc

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

rb/spec/integration/selenium/webdriver/BUILD.bazel

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ _BIDI_FILES = [
5959
name = f[:-8],
6060
srcs = [f],
6161
tags = ["bidi"],
62-
deps = [
63-
"//rb/lib/selenium/devtools",
64-
"//rb/lib/selenium/webdriver:bidi",
65-
],
66-
)
62+
deps = [
63+
"//rb/lib/selenium/devtools",
64+
"//rb/lib/selenium/webdriver:bidi",
65+
],
66+
)
6767
for f in _BIDI_FILES
6868
]
6969

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ load("//rb/spec:tests.bzl", "rb_integration_test")
55
name = file[:-8],
66
srcs = [file],
77
tags = [
8+
"bidi",
89
"exclusive-if-local",
9-
"bidi"
1010
],
1111
deps = [
1212
"//rb/lib/selenium/devtools",

rb/spec/tests.bzl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -216,23 +216,23 @@ def rb_integration_test(name, srcs, deps = [], data = [], browsers = BROWSERS.ke
216216

217217
# Generate a test target for bidi browser execution if there is a matching tag
218218
if "bidi" in tags:
219-
rb_test(
220-
name = "{}-{}-bidi".format(name, browser),
221-
size = "large",
222-
srcs = srcs,
223-
args = ["rb/spec/"],
224-
data = BROWSERS[browser]["data"] + data + ["//common/src/web"],
225-
env = BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
226-
main = "@bundle//bin:rspec",
227-
tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-bidi".format(browser)],
228-
deps = depset(
229-
["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
230-
BROWSERS[browser]["deps"] +
231-
deps,
232-
),
233-
visibility = ["//rb:__subpackages__"],
234-
target_compatible_with = BROWSERS[browser]["target_compatible_with"],
235-
)
219+
rb_test(
220+
name = "{}-{}-bidi".format(name, browser),
221+
size = "large",
222+
srcs = srcs,
223+
args = ["rb/spec/"],
224+
data = BROWSERS[browser]["data"] + data + ["//common/src/web"],
225+
env = BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
226+
main = "@bundle//bin:rspec",
227+
tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-bidi".format(browser)],
228+
deps = depset(
229+
["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
230+
BROWSERS[browser]["deps"] +
231+
deps,
232+
),
233+
visibility = ["//rb:__subpackages__"],
234+
target_compatible_with = BROWSERS[browser]["target_compatible_with"],
235+
)
236236

237237
def rb_unit_test(name, srcs, deps, data = []):
238238
rb_test(

0 commit comments

Comments
 (0)