summaryrefslogtreecommitdiff
path: root/tests/test_analyzer.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-09 15:10:18 +0300
committerAlon Levy <alon@pobox.com>2014-10-09 15:10:18 +0300
commit18eb929aa68d38c38d2d436437dce2505a8d4152 (patch)
tree133dcee7945e1beb56fbdd5e7a47be9b6bda546b /tests/test_analyzer.js
parente58e0c0b520d4abb971d3917712340330e5d85ff (diff)
test_analyzer: correct command line arguments
Diffstat (limited to 'tests/test_analyzer.js')
-rw-r--r--tests/test_analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_analyzer.js b/tests/test_analyzer.js
index 9aede596..874eb9c3 100644
--- a/tests/test_analyzer.js
+++ b/tests/test_analyzer.js
@@ -52,7 +52,7 @@ function dump_graphviz(window) {
}
var done = function (errors, window) {
- window.analyzeSentence(process.argv.join(" "), true);
+ window.analyzeSentence(process.argv.slice(2).join(" "), true);
dump_graphviz(window);
process.exit();
}