summaryrefslogtreecommitdiff
path: root/test/util_test.ml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-12-30 21:42:38 +0700
committerDaniil Baturin <daniil@baturin.org>2016-12-30 21:42:38 +0700
commit81f24fa057f34a3b98f564dbc91b547a8c42d088 (patch)
tree8168e252cfc0bb2565d8269415fc926be8041ba9 /test/util_test.ml
parentc5ccc0d38bab3b783a28d5f4f2b458e370429dad (diff)
downloadvyconf-81f24fa057f34a3b98f564dbc91b547a8c42d088.tar.gz
vyconf-81f24fa057f34a3b98f564dbc91b547a8c42d088.zip
Fix the string_of_path test (square brackets are no longer part of the output).
Diffstat (limited to 'test/util_test.ml')
-rw-r--r--test/util_test.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util_test.ml b/test/util_test.ml
index 3625957..58fd6e9 100644
--- a/test/util_test.ml
+++ b/test/util_test.ml
@@ -16,7 +16,7 @@ let test_find_xml_child_nonexistent test_ctxt =
let test_string_of_path test_ctxt =
let path = ["foo"; "bar"; "baz"] in
- assert_equal (string_of_path path) "[foo bar baz]"
+ assert_equal (String.trim (string_of_path path)) "foo bar baz"
let suite =
"Util tests" >::: [