aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/tests/array.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl/tests/array.cc')
-rw-r--r--nihil.ucl/tests/array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.ucl/tests/array.cc b/nihil.ucl/tests/array.cc
index 220564d..a4f26b6 100644
--- a/nihil.ucl/tests/array.cc
+++ b/nihil.ucl/tests/array.cc
@@ -210,7 +210,7 @@ TEST_CASE("ucl: array: homogeneous cast", "[ucl]")
arr.push_back(integer(1));
arr.push_back(integer(42));
- auto obj = object(arr.get_ucl_object());
+ auto obj = object(ref, arr.get_ucl_object());
// Converting to array<string> should fail.
REQUIRE_THROWS_AS(object_cast<array<string>>(obj), type_mismatch);