aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVertexwahn <julian.amann@tum.de>2023-08-20 19:32:36 +0200
committerVertexwahn <julian.amann@tum.de>2023-08-20 19:32:36 +0200
commitb1dc9b8ad2b7270a2dfd0d6e60dc9eda651600e5 (patch)
tree3a051d14777b1791c77e00c69aae7916f89e42a9
parent401ac37a025983db11bc4c008e37fd47fbe1ab2e (diff)
downloadbazelbuild-rules_testing-b1dc9b8ad2b7270a2dfd0d6e60dc9eda651600e5.tar.gz
Fix spelling
-rw-r--r--MODULE.bazel2
-rw-r--r--README.md2
-rw-r--r--RELEASING.md2
-rw-r--r--lib/private/expect_meta.bzl4
-rw-r--r--lib/private/ordered.bzl2
-rw-r--r--lib/private/truth_common.bzl2
-rw-r--r--tests/matching/matching_tests.bzl2
-rw-r--r--tests/truth_tests.bzl2
8 files changed, 9 insertions, 9 deletions
diff --git a/MODULE.bazel b/MODULE.bazel
index f4e843b..9b60855 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -37,7 +37,7 @@ use_repo(
"python_3_11_x86_64-unknown-linux-gnu",
)
-# NOTE: This is actualy a dev dependency, but due to
+# NOTE: This is actually a dev dependency, but due to
# https://github.com/bazelbuild/bazel/issues/18248 it has to be non-dev to
# generate the repo name used in the subsequent register_toolchains() call.
# Once 6.2 is the minimum supported version, the register_toolchains
diff --git a/README.md b/README.md
index f65d6e6..6721801 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
[![Build
status](https://badge.buildkite.com/a82ebafd30ad56e0596dcd3a3a19f36985d064f7f7fb89e21e.svg?branch=master)](https://buildkite.com/bazel/rules-testing)
-# Framworks and utilities for testing Bazel Starlark
+# Frameworks and utilities for testing Bazel Starlark
`rules_testing` provides frameworks and utilities to make testing Starlark code
easier and convenient.
diff --git a/RELEASING.md b/RELEASING.md
index e2f3df0..72059f2 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -7,5 +7,5 @@ Assuming you have a remote named `upstream` pointing to the repo:
* `git tag v<VERSION> upstream/master && git push upstream --tags`
After pushing, the release action will trigger. It will package it up, create a
-relase on the GitHub release page, and trigger an update to the Bazel Central
+release on the GitHub release page, and trigger an update to the Bazel Central
Registry (BCR).
diff --git a/lib/private/expect_meta.bzl b/lib/private/expect_meta.bzl
index 249da1e..efe59fc 100644
--- a/lib/private/expect_meta.bzl
+++ b/lib/private/expect_meta.bzl
@@ -36,7 +36,7 @@ def _expect_meta_new(env, exprs = [], details = [], format_str_kwargs = None):
The `env` object basically provides a way to interact with things outside
of the truth assertions framework. This allows easier testing of the
framework itself and decouples it from a particular test framework (which
- makes it usuable by by rules_testing's analysis_test and skylib's
+ makes it usable by by rules_testing's analysis_test and skylib's
analysistest)
The `env` object requires the following attribute:
@@ -51,7 +51,7 @@ def _expect_meta_new(env, exprs = [], details = [], format_str_kwargs = None):
provider and returns [`bool`]. This is used to implement `Provider in
target` operations.
* get_provider: (callable) it accepts two positional args, target and
- provider and returns the provder value. This is used to implement
+ provider and returns the provider value. This is used to implement
`target[Provider]`.
Args:
diff --git a/lib/private/ordered.bzl b/lib/private/ordered.bzl
index c9a0ed9..dec2662 100644
--- a/lib/private/ordered.bzl
+++ b/lib/private/ordered.bzl
@@ -31,7 +31,7 @@ def _ordered_incorrectly_new(format_problem, format_actual, meta):
Args:
format_problem: (callable) accepts no args and returns string (the
reported problem description).
- format_actual: (callable) accepts not args and returns tring (the
+ format_actual: (callable) accepts not args and returns string (the
reported actual description).
meta: ([`ExpectMeta`]) used to report the failure.
diff --git a/lib/private/truth_common.bzl b/lib/private/truth_common.bzl
index ce249d6..1916901 100644
--- a/lib/private/truth_common.bzl
+++ b/lib/private/truth_common.bzl
@@ -100,7 +100,7 @@ def maybe_sorted(container, allow_sorting = True):
Args:
container: ([`list`] | (or other object convertible to list))
allow_sorting: ([`bool`]) whether to sort even if it can be sorted. This
- is primarly so that callers can avoid boilerplate when they have
+ is primarily so that callers can avoid boilerplate when they have
a "should it be sorted" arg, but also always convert to a list.
Returns:
diff --git a/tests/matching/matching_tests.bzl b/tests/matching/matching_tests.bzl
index 19d4fb2..6ef67e3 100644
--- a/tests/matching/matching_tests.bzl
+++ b/tests/matching/matching_tests.bzl
@@ -15,7 +15,7 @@ def _file(path):
)
def _verify_matcher(env, matcher, match_true, match_false):
- # Test postive match
+ # Test positive match
env.expect.where(matcher = matcher.desc, value = match_true).that_bool(
matcher.match(match_true),
expr = "matcher.match(value)",
diff --git a/tests/truth_tests.bzl b/tests/truth_tests.bzl
index d209978..ee942f4 100644
--- a/tests/truth_tests.bzl
+++ b/tests/truth_tests.bzl
@@ -180,7 +180,7 @@ def _bool_subject_test(env, _target):
fake_env,
["expected any of:", "None", "39", "actual: True"],
env = env,
- msg = "check is_in mismatchd values",
+ msg = "check is_in mismatched values",
)
_end(env, fake_env)