summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/vyconf_tree_test.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vyconf_tree_test.ml b/test/vyconf_tree_test.ml
index eca40ce..3d8c52a 100644
--- a/test/vyconf_tree_test.ml
+++ b/test/vyconf_tree_test.ml
@@ -94,7 +94,7 @@ let test_get_child_nonexistent test_ctxt =
let test_update test_ctxt =
let node = make "root" 0 in
let node = insert 0 node ["foo"] 1 in
- assert_equal (data_of_node (update node ["foo"] 9)) 9
+ assert_equal (data_of_node (get (update node ["foo"] 9) ["foo"])) 9
let suite =
"VyConf tree tests" >::: [