fx-compat: Don't use number as OS.Path.join()
argument
It's dropped silently from the path in Fx102.
This commit is contained in:
parent
8e46e2a4c1
commit
f57c462b85
1 changed files with 2 additions and 2 deletions
|
@ -66,10 +66,10 @@ describe("Zotero_File_Interface", function() {
|
|||
var rdfFile = OS.Path.join(tmpDir, 'test.rdf');
|
||||
yield OS.File.copy(OS.Path.join(getTestDataDirectory().path, 'book_and_snapshot.rdf'), rdfFile);
|
||||
yield OS.File.makeDir(OS.Path.join(tmpDir, 'files'));
|
||||
yield OS.File.makeDir(OS.Path.join(tmpDir, 'files', 2));
|
||||
yield OS.File.makeDir(OS.Path.join(tmpDir, 'files', '2'));
|
||||
yield OS.File.copy(
|
||||
OS.Path.join(getTestDataDirectory().path, 'test.html'),
|
||||
OS.Path.join(tmpDir, 'files', 2, 'test.html')
|
||||
OS.Path.join(tmpDir, 'files', '2', 'test.html')
|
||||
);
|
||||
|
||||
var promise = waitForItemEvent('add');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue