chore: fixup test sizes to resolve warnings (#911)
This commit is contained in:
parent
eb55a3c03f
commit
62b2fd06aa
|
@ -1,5 +1,6 @@
|
||||||
"""unit tests for base64"""
|
"""unit tests for base64"""
|
||||||
|
|
||||||
|
load("@bazel_skylib//lib:partial.bzl", "partial")
|
||||||
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
||||||
load("//lib/private:base64.bzl", "decode", "encode")
|
load("//lib/private:base64.bzl", "decode", "encode")
|
||||||
load("//lib/private:strings.bzl", "INT_TO_CHAR")
|
load("//lib/private:strings.bzl", "INT_TO_CHAR")
|
||||||
|
@ -45,5 +46,5 @@ base64_test = unittest.make(_base64_test_impl)
|
||||||
def base64_test_suite():
|
def base64_test_suite():
|
||||||
unittest.suite(
|
unittest.suite(
|
||||||
"base64_tests",
|
"base64_tests",
|
||||||
base64_test,
|
partial.make(base64_test, timeout = "short"),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
"""unit tests for lists"""
|
"""unit tests for lists"""
|
||||||
|
|
||||||
|
load("@bazel_skylib//lib:partial.bzl", "partial")
|
||||||
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
||||||
load("//lib/private:lists.bzl", "every", "filter", "find", "map", "once", "pick", "some", "unique")
|
load("//lib/private:lists.bzl", "every", "filter", "find", "map", "once", "pick", "some", "unique")
|
||||||
|
|
||||||
|
@ -82,12 +83,12 @@ unique_test = unittest.make(_unique_test_impl)
|
||||||
def lists_test_suite():
|
def lists_test_suite():
|
||||||
unittest.suite(
|
unittest.suite(
|
||||||
"lists_tests",
|
"lists_tests",
|
||||||
every_test,
|
partial.make(every_test, timeout = "short"),
|
||||||
filter_test,
|
partial.make(filter_test, timeout = "short"),
|
||||||
find_test,
|
partial.make(find_test, timeout = "short"),
|
||||||
map_test,
|
partial.make(map_test, timeout = "short"),
|
||||||
once_test,
|
partial.make(once_test, timeout = "short"),
|
||||||
pick_test,
|
partial.make(pick_test, timeout = "short"),
|
||||||
some_test,
|
partial.make(some_test, timeout = "short"),
|
||||||
unique_test,
|
partial.make(unique_test, timeout = "short"),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
"""unit tests for string"""
|
"""unit tests for string"""
|
||||||
|
|
||||||
|
load("@bazel_skylib//lib:partial.bzl", "partial")
|
||||||
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
|
||||||
load("//lib/private:strings.bzl", "chr", "hex", "ord")
|
load("//lib/private:strings.bzl", "chr", "hex", "ord")
|
||||||
|
|
||||||
|
@ -58,7 +59,7 @@ hex_test = unittest.make(_hex_test_impl)
|
||||||
def strings_test_suite():
|
def strings_test_suite():
|
||||||
unittest.suite(
|
unittest.suite(
|
||||||
"strings_tests",
|
"strings_tests",
|
||||||
ord_test,
|
partial.make(ord_test, timeout = "short"),
|
||||||
chr_test,
|
partial.make(chr_test, timeout = "short"),
|
||||||
hex_test,
|
partial.make(hex_test, timeout = "short"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue