Skip to content

Commit

Permalink
boyscout: test multiple line break versions
Browse files Browse the repository at this point in the history
  • Loading branch information
filecage committed Dec 20, 2023
1 parent 7c7d3cf commit 60cc300
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/visual/text.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ describe('text', function() {
});
});

test('list with line breaks in value', function() {
test('list with line breaks in items', function() {
return runDocTest(function(doc) {
doc.font('tests/fonts/Roboto-Regular.ttf');
doc.list(['Foo\nBar'], [100, 150]);
doc.list(['Foo\nBar', 'Foo\rBar', 'Foo\r\nBar'], [100, 150]);
})
})
});

0 comments on commit 60cc300

Please sign in to comment.