From 81f24fa057f34a3b98f564dbc91b547a8c42d088 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 30 Dec 2016 21:42:38 +0700 Subject: Fix the string_of_path test (square brackets are no longer part of the output). --- test/util_test.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" >::: [ -- cgit v1.2.3