diff options
author | Tom de Vries <tdevries@suse.de> | 2025-04-10 18:42:06 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-04-10 18:42:06 +0200 |
commit | 99d0bac09bac091b2b9ea8ae634361008b08033b (patch) | |
tree | d0eaf21d16953b088bd6b344207bace90b4f9847 /gdb | |
parent | 7319a302dd34e0864a737c77cde3aeff90c4a5fb (diff) | |
download | binutils-99d0bac09bac091b2b9ea8ae634361008b08033b.zip binutils-99d0bac09bac091b2b9ea8ae634361008b08033b.tar.gz binutils-99d0bac09bac091b2b9ea8ae634361008b08033b.tar.bz2 |
[gdb/unittests] Ignore spellcheck warning in rsp-low-selftests.c
Ignore the following spellcheck warning:
...
$ codespell --config gdb/contrib/setup.cfg gdb/unittests
gdb/unittests/rsp-low-selftests.c:54: fo ==> of, for, to, do, go
...
and add gdb/unittests to the pre-commit codespell configuration.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/unittests/rsp-low-selftests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/rsp-low-selftests.c b/gdb/unittests/rsp-low-selftests.c index df849c9..7a1b2de 100644 --- a/gdb/unittests/rsp-low-selftests.c +++ b/gdb/unittests/rsp-low-selftests.c @@ -51,7 +51,7 @@ static void test_hex2str () { SELF_CHECK (hex2str ("666f6f") == "foo"); SELF_CHECK (hex2str ("666f6fa") == "foo"); - SELF_CHECK (hex2str ("666f6f", 2) == "fo"); + SELF_CHECK (hex2str ("666f6f", 2) == "fo"); /* codespell:ignore */ SELF_CHECK (hex2str ("666", 2) == "f"); SELF_CHECK (hex2str ("666", 6) == "f"); SELF_CHECK (hex2str ("") == ""); |