Use filename join

Potentiall to avoid *nix vs windows differences
This commit is contained in:
martinsumner 2016-11-03 20:06:30 +00:00
parent ad9c886b65
commit d5ac4d412d

View file

@ -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})),