diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:20:31 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:20:31 +0200 |
commit | ee0a2e7e1965200ec5968ec310bee429db819dde (patch) | |
tree | 8d5632e29233d87a6a14de1165abac7e99bd879a /source/tests/array_ref.test.c | |
parent | 835e1fcd131c63ee2b3b647e327b33a3bfb369e3 (diff) | |
download | kit-ee0a2e7e1965200ec5968ec310bee429db819dde.zip |
Remove const
Diffstat (limited to 'source/tests/array_ref.test.c')
-rw-r--r-- | source/tests/array_ref.test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tests/array_ref.test.c b/source/tests/array_ref.test.c index da20aa0..cb19850 100644 --- a/source/tests/array_ref.test.c +++ b/source/tests/array_ref.test.c @@ -3,7 +3,7 @@ #define KIT_TEST_FILE array_ref #include "../kit_test/test.h" -TEST("array ref const wrap") { +TEST("array ref wrap") { int foo[] = { 1, 2, 3 }; AR_WRAP(ref, int, foo); @@ -15,7 +15,7 @@ TEST("array ref const wrap") { TEST("array ref wrap") { int foo[] = { 1, 2, 3 }; - AR_MUT_WRAP(ref, int, foo); + AR_WRAP(ref, int, foo); REQUIRE(ref.size == 3); REQUIRE(ref.values[0] == 1); @@ -36,7 +36,7 @@ TEST("array ref equal") { REQUIRE(AR_EQUAL(foo_ref, bar_ref)); } -static int compare(int const *left, int const *right) { +static int compare(int *left, int *right) { return *left - *right; } |