Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-10 15:34:59 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-10 15:35:18 +0400
commit4e9fc594cea4c52731631967bfa43bee964c78dc (patch)
tree94bdd58bbaf47dea5d8d56365c6638a23d668c7f /tests/lib
parent720639c919024eceed9d64e9a57d9c9ada6eda43 (diff)
Fixing travis.sh script for UI tests build and make sure empty arguments don't get added to tests to execute in screenshot test runner.
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/support/parse-cli-args.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/screenshot-testing/support/parse-cli-args.js b/tests/lib/screenshot-testing/support/parse-cli-args.js
index e13e2de8ab..a46b7b78b5 100644
--- a/tests/lib/screenshot-testing/support/parse-cli-args.js
+++ b/tests/lib/screenshot-testing/support/parse-cli-args.js
@@ -19,7 +19,7 @@ exports.parse = function () {
value = matches[2];
result[key.toString()] = value || true;
- } else {
+ } else if (arg) {
result.tests.push(arg);
}
}