diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-18 07:55:54 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-18 07:55:54 -0500 |
commit | 19c5fdffdc41bfd606b455b46e834d1bff4b2c1e (patch) | |
tree | db1c5abebf12e9aaef80d8e22a472357027b5287 /test/str_ut.c | |
parent | 14ea1b3635b4af8d9e283e3671f7ee872d50b859 (diff) | |
parent | ad80a8d0877922db95fd0410314504c840d9d850 (diff) |
Merge branch '2021-01-16-assorted-improvements'
- Assorted testing improvements and fixes
- Assorted code cleanups
Diffstat (limited to 'test/str_ut.c')
-rw-r--r-- | test/str_ut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/str_ut.c b/test/str_ut.c index ef1205dbbd..cd5045516d 100644 --- a/test/str_ut.c +++ b/test/str_ut.c @@ -19,7 +19,7 @@ static const char str3[] = "0xbI'm sorry you're alive."; /* Declare a new str test */ #define STR_TEST(_name, _flags) UNIT_TEST(_name, _flags, str_test) -static int str_test_upper(struct unit_test_state *uts) +static int str_upper(struct unit_test_state *uts) { char out[TEST_STR_SIZE]; @@ -55,7 +55,7 @@ static int str_test_upper(struct unit_test_state *uts) return 0; } -STR_TEST(str_test_upper, 0); +STR_TEST(str_upper, 0); static int run_strtoul(struct unit_test_state *uts, const char *str, int base, ulong expect_val, int expect_endp_offset, bool upper) |