aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilip Nelson <me@pnelson.ca>2024-06-16 06:59:27 -0700
committerPhilip Nelson <me@pnelson.ca>2024-06-16 06:59:27 -0700
commit0b51ab157dcf08d5b1e048de84a0a12a67e7ece5 (patch)
tree206e65e140345cca3e0c838d30ad24a7e5e3302d /test
parentUpdate docstrings. (diff)
Fix typos
Diffstat (limited to 'test')
-rw-r--r--test/suite-boot.janet2
-rw-r--r--test/suite-peg.janet2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/suite-boot.janet b/test/suite-boot.janet
index b412c52d..4b391d8a 100644
--- a/test/suite-boot.janet
+++ b/test/suite-boot.janet
@@ -754,7 +754,7 @@
(default name (string "has-key? " (++ test-has-key-auto)))
(assert (= expected (has-key? col key)) name)
(if
- # guarenteed by `has-key?` to never fail
+ # guaranteed by `has-key?` to never fail
expected (in col key)
# if `has-key?` is false, then `in` should fail (for indexed types)
#
diff --git a/test/suite-peg.janet b/test/suite-peg.janet
index e0c85e66..b4547db2 100644
--- a/test/suite-peg.janet
+++ b/test/suite-peg.janet
@@ -492,7 +492,7 @@
# header, followed by body, and drop the :header-len capture
:packet (/ (* :packet-header :packet-body) ,|$1)
- # any exact seqence of packets (no extra characters)
+ # any exact sequence of packets (no extra characters)
:main (* (any :packet) -1)}))
(assert (deep= @["a" "bb" "ccc"] (peg/match peg2 "1:a2:bb3:ccc"))