summaryrefslogtreecommitdiff
path: root/source/tests/array_ref.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests/array_ref.test.c')
-rw-r--r--source/tests/array_ref.test.c6
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;
}