diff --git a/tests/js/tests.js b/tests/js/tests.js index 1279f887..fda5a7ff 100644 --- a/tests/js/tests.js +++ b/tests/js/tests.js @@ -29,7 +29,9 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() { '../dev/Ox.Geo/Ox.Geo.js', '../dev/Ox.Image/Ox.Image.js', '../dev/Ox.Unicode/Ox.Unicode.js' - ]) + ]).map(function(file) { + return file + '?' + Ox.random(1000000); + }) ); function tests() { @@ -37,7 +39,6 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() { lines, spaces, command, expected, result, passed, replace = ['', ''], fns = [], $test; Ox.forEach(Ox.isArray(arguments[0]) ? arguments[0] : arguments, function(script, i) { - Ox.print(script) Ox.test(script, function(results) { var tests = {}; results.forEach(function(result) { @@ -48,7 +49,7 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() { Ox.forEach(tests, function(functions, section) { Ox.Bar({size: 14}) .css({padding: '1px 0 1px 4px'}) - .html(Ox.basename(script) + ' ' + section) + .html(Ox.basename(script).split('?')[0] + ' ' + (section || '')) .appendTo($body); Ox.forEach(functions, function(arr, fn) { var $test = Ox.CollapsePanel({