Use filename join
Potentiall to avoid *nix vs windows differences
This commit is contained in:
parent
ad9c886b65
commit
d5ac4d412d
1 changed files with 1 additions and 1 deletions
|
@ -1676,7 +1676,7 @@ coverage_test() ->
|
||||||
ok = pcl_close(PCL),
|
ok = pcl_close(PCL),
|
||||||
|
|
||||||
ManifestFP = filepath(RootPath, manifest),
|
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,
|
{ok, PCLr} = pcl_start(#penciller_options{root_path=RootPath,
|
||||||
max_inmemory_tablesize=1000}),
|
max_inmemory_tablesize=1000}),
|
||||||
?assertMatch(Key1, pcl_fetch(PCLr, {o,"Bucket0001", "Key0001", null})),
|
?assertMatch(Key1, pcl_fetch(PCLr, {o,"Bucket0001", "Key0001", null})),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue