diff --git a/test/test.html b/test/test.html index 18f75040..93de5b12 100644 --- a/test/test.html +++ b/test/test.html @@ -44,7 +44,6 @@
  • 4.2
  • 4.3
  • -
    @@ -53,6 +52,7 @@
  • 4.1
  • 4.2
  • +
    diff --git a/test/test.js b/test/test.js index d59ddfa6..ff32ee86 100644 --- a/test/test.js +++ b/test/test.js @@ -498,9 +498,9 @@ Reveal.addEventListener( 'ready', function() { test( 'iframe with data-src', function() { Reveal.slide( 0, 0 ); strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 0, 'Iframe source is not set' ); - Reveal.slide( 2, 0 ); - strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 1, 'Iframe source is set' ); Reveal.slide( 2, 1 ); + strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 1, 'Iframe source is set' ); + Reveal.slide( 2, 2 ); strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 0, 'Iframe source is not set' ); });