Skip to content

Commit

Permalink
Add screenshot test for %s with percent timemark
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Joyard committed Jul 24, 2014
1 parent cbf7fe2 commit 561ad1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/processor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ describe('Processor', function() {
testScreenshots(
'should replace %s with the screenshot timestamp',
'filename_s',
{ timemarks: [ 0.5, 1 ], filename: 'shot_%s.png' },
['shot_0.5.png', 'shot_1.png']
{ timemarks: [ 0.5, '40%', 1 ], filename: 'shot_%s.png' },
['shot_0.5.png', 'shot_0.8.png', 'shot_1.png']
);

testScreenshots(
Expand Down

0 comments on commit 561ad1b

Please sign in to comment.