Commit 7d33d124 authored by Mikaël Salson's avatar Mikaël Salson

tools_test.js: Inversion between the parameters of prepend_path_if_not_web()

parent 0134ec3a
......@@ -55,9 +55,9 @@ QUnit.test("test rounding functions", function(assert) {
);
QUnit.test("prepend_path_if_not_web", function(assert) {
assert.equal(prepend_path_if_not_web('toto', 'tata/'), 'tata/toto');
assert.equal(prepend_path_if_not_web('toto', 'http://toto'), 'http://toto');
assert.equal(prepend_path_if_not_web('toto', 'ftp://toto'), 'ftp://toto');
assert.equal(prepend_path_if_not_web('/tata', 'toto'), 'toto/tata');
assert.equal(prepend_path_if_not_web('http://toto', 'toto'), 'http://toto');
assert.equal(prepend_path_if_not_web('ftp://toto', 'toto'), 'ftp://toto');
});
QUnit.test("processCloneDBContents", function(assert) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment