diff options
author | fabiano <fabianorosas@gmail.com> | 2014-05-09 14:23:25 -0300 |
---|---|---|
committer | fabiano <fabianorosas@gmail.com> | 2014-05-09 15:41:04 -0300 |
commit | d072be2f573fe532f95907dc02c85b224b64819d (patch) | |
tree | 734e9765b5cb4fa8997e6632cf17e2bf8af648da /test | |
parent | af1ade14187c50a0e8d7ca954dfd1ae7d3043456 (diff) | |
download | perl-software-in-gnu-guix-d072be2f573fe532f95907dc02c85b224b64819d.tar perl-software-in-gnu-guix-d072be2f573fe532f95907dc02c85b224b64819d.tar.gz |
kill-yank mistake
Diffstat (limited to 'test')
-rw-r--r-- | test/test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.js b/test/test.js index fd7b865..6c7270f 100644 --- a/test/test.js +++ b/test/test.js @@ -91,8 +91,8 @@ Reveal.addEventListener( 'ready', function() { var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1; Reveal.slide( 1, 1 ); - Reveal.slide( lastSlideIndex, 0 ); - strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( '+ lastSlideIndex +', 0 )' ); + Reveal.slide( lastSlideIndex ); + strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( '+ lastSlideIndex +', 0 )' ); }); test( 'Reveal.getTotalSlides', function() { |