diff options
| author | Rasmus Villemoes <[email protected]> | 2025-05-13 10:40:28 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 08:25:18 -0600 |
| commit | ebdd78c487f6599f693e53e707606d7295f20f6e (patch) | |
| tree | ac2823baed7b7b63d367add39d63997dd123e125 /test/lib | |
| parent | 09b48305d3b6492553982df75e3a9f99d1f856d0 (diff) | |
test: slre: add some (negative) character class tests
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/slre.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/slre.c b/test/lib/slre.c index b76d33475dd..9b41ea92f38 100644 --- a/test/lib/slre.c +++ b/test/lib/slre.c @@ -23,6 +23,9 @@ static const struct re_test re_test[] = { { "", "^x*$", 1}, { "yy", "x*$", 1}, { "yy", "^x*$", 0}, + { "Gadsby", "^[^eE]*$", 1}, + { "Ernest", "^[^eE]*$", 0}, + { "6d41f0a39d6", "^[0123456789abcdef]*$", 1 }, {} }; |
