summaryrefslogtreecommitdiffstats
path: root/libdimension/tests/dictionary.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-07 16:58:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-07 16:58:20 -0400
commita22560c3ccaf19261b5c40fdcab36d2d22426986 (patch)
tree85a39e016ac972f54e282eedcf32b26da6f67822 /libdimension/tests/dictionary.c
parentbfadc2ee359f10842da21336795e54f24a2746e3 (diff)
downloaddimension-a22560c3ccaf19261b5c40fdcab36d2d22426986.tar.xz
Use // comments when possible.
Diffstat (limited to 'libdimension/tests/dictionary.c')
-rw-r--r--libdimension/tests/dictionary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/tests/dictionary.c b/libdimension/tests/dictionary.c
index ca0c6b0..117887a 100644
--- a/libdimension/tests/dictionary.c
+++ b/libdimension/tests/dictionary.c
@@ -86,12 +86,12 @@ DMNSN_TEST(dictionary, insert_overwrites)
const int value1 = 123, value2 = 456;
int value_out;
- /* Insert and read back value1 */
+ // Insert and read back value1
dmnsn_dictionary_insert(dict, "key", &value1);
ck_assert(dmnsn_dictionary_get(dict, "key", &value_out));
ck_assert_int_eq(value_out, value1);
- /* Insert and read back value2 */
+ // Insert and read back value2
dmnsn_dictionary_insert(dict, "key", &value2);
ck_assert(dmnsn_dictionary_get(dict, "key", &value_out));
ck_assert_int_eq(value_out, value2);