mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-30 01:41:21 +00:00
36 lines
710 B
Python
36 lines
710 B
Python
|
sh_library(
|
||
|
name = "assert_fail",
|
||
|
testonly = True,
|
||
|
srcs = ["assert_fail.sh"],
|
||
|
)
|
||
|
|
||
|
sh_test(
|
||
|
name = "assert_equal_test",
|
||
|
srcs = ["assert_equal_test.sh"],
|
||
|
deps = [
|
||
|
":assert_fail",
|
||
|
"//shlib/lib:assertions",
|
||
|
"@bazel_tools//tools/bash/runfiles",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
sh_test(
|
||
|
name = "assert_match_test",
|
||
|
srcs = ["assert_match_test.sh"],
|
||
|
deps = [
|
||
|
":assert_fail",
|
||
|
"//shlib/lib:assertions",
|
||
|
"@bazel_tools//tools/bash/runfiles",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
sh_test(
|
||
|
name = "assert_no_match_test",
|
||
|
srcs = ["assert_no_match_test.sh"],
|
||
|
deps = [
|
||
|
":assert_fail",
|
||
|
"//shlib/lib:assertions",
|
||
|
"@bazel_tools//tools/bash/runfiles",
|
||
|
],
|
||
|
)
|