Move long test messages to new lines
Showing
1 changed file
with
4 additions
and
2 deletions
... | @@ -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 | }); | ... | ... |
-
Please register or sign in to post a comment