Commit 000df9f4 000df9f4823dd03f7a9aaacd971781e1d9613217 by Brikou CARRE

removed empty quotes

1 parent ca75a1e4
......@@ -19,7 +19,7 @@ casper.start('http://www.bbc.co.uk/', function() {
nbLinks = this.evaluate(function() {
return __utils__.findAll('#promo2_carousel_items_items li').length;
});
this.echo("" + nbLinks + " items founds");
this.echo(nbLinks + " items founds");
// hide navigation arrows
this.hide('.nav_left');
this.hide('.nav_right');
......
......@@ -36,7 +36,7 @@ var start = function start(link) {
var addLinks = function addLinks(link) {
this.then(function() {
var found = this.evaluate(searchLinks);
this.echo("" + found.length + " links found on " + link);
this.echo(found.length + " links found on " + link);
links = links.concat(found);
});
};
......
......@@ -10,7 +10,7 @@ casper.start();
casper.each(links, function(self, link) {
this.thenOpen(link, function() {
this.echo("" + (this.getTitle()) + " - " + link);
this.echo((this.getTitle()) + " - " + link);
});
});
......
......@@ -32,7 +32,7 @@ casper.then(function() {
casper.run(function() {
// display results
this.echo("" + links.length + " links found:");
this.echo(links.length + " links found:");
this.echo(" - " + links.join("\n - "));
this.exit();
});
......
......@@ -49,7 +49,7 @@ casper.each(terms, function(self, term) {
term: term,
score: score
});
self.echo("" + term + ": " + score);
self.echo(term + ": " + score);
});
});
......
......@@ -13,7 +13,7 @@ var suites = [
this.echo("Page title: " + (this.getTitle()));
});
this.then(function() {
this.echo("" + (this.evaluate(countLinks)) + " links");
this.echo((this.evaluate(countLinks)) + " links");
});
}, function() {
this.echo('Suite 2');
......@@ -21,7 +21,7 @@ var suites = [
this.echo("Page title: " + (this.getTitle()));
});
this.then(function() {
this.echo("" + (this.evaluate(countLinks)) + " links");
this.echo((this.evaluate(countLinks)) + " links");
});
}, function() {
this.echo('Suite 3');
......@@ -29,7 +29,7 @@ var suites = [
this.echo("Page title: " + (this.getTitle()));
});
this.then(function() {
this.echo("" + (this.evaluate(countLinks)) + " links");
this.echo((this.evaluate(countLinks)) + " links");
});
}
];
......