From d5ac4d412d8c87a08ebbcc488984099d76ab947e Mon Sep 17 00:00:00 2001 From: martinsumner Date: Thu, 3 Nov 2016 20:06:30 +0000 Subject: [PATCH] Use filename join Potentiall to avoid *nix vs windows differences --- src/leveled_penciller.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leveled_penciller.erl b/src/leveled_penciller.erl index ac9ee5c..32ee3bc 100644 --- a/src/leveled_penciller.erl +++ b/src/leveled_penciller.erl @@ -1676,7 +1676,7 @@ coverage_test() -> ok = pcl_close(PCL), ManifestFP = filepath(RootPath, manifest), - ok = file:write_file(ManifestFP ++ "/yeszero_123.man", term_to_binary("hello")), + ok = file:write_file(filename:join(ManifestFP, "yeszero_123.man"), term_to_binary("hello")), {ok, PCLr} = pcl_start(#penciller_options{root_path=RootPath, max_inmemory_tablesize=1000}), ?assertMatch(Key1, pcl_fetch(PCLr, {o,"Bucket0001", "Key0001", null})),