Commit 9707539c 9707539cc303bdd8641bff6976138f37d997dca1 by hexid

Move long test messages to new lines

1 parent b6e7cd96
...@@ -10,9 +10,11 @@ casper.test.begin('getElementAttribute() tests', 4, function(test) { ...@@ -10,9 +10,11 @@ casper.test.begin('getElementAttribute() tests', 4, function(test) {
10 'beautiful string', 'Casper.getElementAttribute() works with a XPath selector'); 10 'beautiful string', 'Casper.getElementAttribute() works with a XPath selector');
11 }).then(function() { 11 }).then(function() {
12 test.assertEquals(this.getElementsAttribute('.testo', 'data-stuff'), 12 test.assertEquals(this.getElementsAttribute('.testo', 'data-stuff'),
13 ['beautiful string', 'not as beautiful string'], 'Casper.getElementsAttribute() works with a CSS selector'); 13 ['beautiful string', 'not as beautiful string'],
14 'Casper.getElementsAttribute() works with a CSS selector');
14 test.assertEquals(this.getElementsAttribute(x('//div[@class]'), 'data-stuff'), 15 test.assertEquals(this.getElementsAttribute(x('//div[@class]'), 'data-stuff'),
15 ['beautiful string', 'not as beautiful string'], 'Casper.getElementsAttribute() works with a XPath selector'); 16 ['beautiful string', 'not as beautiful string'],
17 'Casper.getElementsAttribute() works with a XPath selector');
16 }).run(function() { 18 }).run(function() {
17 test.done(); 19 test.done();
18 }); 20 });
......