From d072be2f573fe532f95907dc02c85b224b64819d Mon Sep 17 00:00:00 2001 From: fabiano Date: Fri, 9 May 2014 14:23:25 -0300 Subject: [PATCH] kill-yank mistake --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index fd7b8656..6c7270f2 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() {