From 83507d74b8588d2d8561a263466d34ee669d9812 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 2 Apr 2024 20:51:14 +0800 Subject: [PATCH] Update for latest 'typos' (#139) Signed-off-by: john vandenberg Co-authored-by: john vandenberg --- .config/typos.toml | 8 ++++++++ tests/unit/acl.tcl | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/typos.toml b/.config/typos.toml index e810af9a14..d378b5655a 100644 --- a/.config/typos.toml +++ b/.config/typos.toml @@ -8,8 +8,10 @@ extend-exclude = [ ] [default.extend-words] +advices = "advices" exat = "exat" optin = "optin" +ro = "ro" smove = "smove" [type.c] @@ -30,6 +32,7 @@ extend-ignore-re = [ module_gil_acquring = "module_gil_acquring" [type.c.extend-identifiers] +ang = "ang" clen = "clen" fle = "fle" module_gil_acquring = "module_gil_acquring" @@ -47,10 +50,14 @@ fo = "fo" seeked = "seeked" [type.c.extend-words] +arange = "arange" fo = "fo" +frst = "frst" limite = "limite" +pn = "pn" seeked = "seeked" tre = "tre" +ws = "ws" [type.systemd.extend-words] # systemd = .conf @@ -58,4 +65,5 @@ ake = "ake" [type.tcl.extend-words] fo = "fo" +lst = "lst" tre = "tre" diff --git a/tests/unit/acl.tcl b/tests/unit/acl.tcl index 1457b57b77..cdd12511e2 100644 --- a/tests/unit/acl.tcl +++ b/tests/unit/acl.tcl @@ -612,7 +612,7 @@ start_server {tags {"acl external:skip"}} { r ACL SETUSER adv-test -@all +select|0 +select|0 +debug|segfault +debug assert_equal "-@all +select|0 +debug" [dict get [r ACL getuser adv-test] commands] - # Unnecessary categories are retained for potentional future compatibility + # Unnecessary categories are retained for potential future compatibility r ACL SETUSER adv-test -@all -@dangerous assert_equal "-@all -@dangerous" [dict get [r ACL getuser adv-test] commands]