summaryrefslogtreecommitdiff
path: root/source/test/unittests/array_ref.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-07 09:48:28 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-07 09:48:28 +0400
commit8589d6ff0c31701adfb9e18f46da471bbcf36020 (patch)
tree33cf7d1bc40a4a903c7539c9a1c1c321d155570a /source/test/unittests/array_ref.test.c
parent3c5f3944a6edf5880ebea580a547c284641e5188 (diff)
downloadkit-8589d6ff0c31701adfb9e18f46da471bbcf36020.zip
Refactor
Diffstat (limited to 'source/test/unittests/array_ref.test.c')
-rw-r--r--source/test/unittests/array_ref.test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test/unittests/array_ref.test.c b/source/test/unittests/array_ref.test.c
index 62556f3..ac572b1 100644
--- a/source/test/unittests/array_ref.test.c
+++ b/source/test/unittests/array_ref.test.c
@@ -5,7 +5,7 @@
TEST("array ref const wrap") {
int foo[] = { 1, 2, 3 };
- AR_CONST_WRAP(ref, int, foo);
+ AR_WRAP(ref, int, foo);
REQUIRE(ref.size == 3);
REQUIRE(ref.values[0] == 1);
@@ -15,7 +15,7 @@ TEST("array ref const wrap") {
TEST("array ref wrap") {
int foo[] = { 1, 2, 3 };
- AR_WRAP(ref, int, foo);
+ AR_MUT_WRAP(ref, int, foo);
REQUIRE(ref.size == 3);
REQUIRE(ref.values[0] == 1);