From bd0f3001c6154a8720bd19c06e22956f78ee6db2 Mon Sep 17 00:00:00 2001 From: Trevor Welsby Date: Sat, 23 Jan 2016 17:31:58 +1000 Subject: [PATCH] Fix typo in new unit.hpp comments --- test/unit.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit.cpp b/test/unit.cpp index 773978ec..282c6f90 100644 --- a/test/unit.cpp +++ b/test/unit.cpp @@ -11537,19 +11537,19 @@ TEST_CASE("regression tests") const json j_const = j; - // Non-const access with key as "char []" + // Const access with key as "char []" CHECK(j_const[array_key] == json(1)); - // Non-const access with key as "const char[]" + // Const access with key as "const char[]" CHECK(j_const[const_array_key] == json(2)); - // Non-const access with key as "char *" + //Const access with key as "char *" CHECK(j_const[ptr_key] == json(3)); - // Non-const access with key as "const char *" + // Const access with key as "const char *" CHECK(j_const[const_ptr_key] == json(4)); - // Non-const access with key as "static constexpr const char *" + // Const access with key as "static constexpr const char *" CHECK(j_const[constexpr_ptr_key] == json(5)); } }