Skip to content

Commit

Permalink
Prettify: Optimize the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed Oct 24, 2016
1 parent e5e0f51 commit 7ef1a07
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/plugins/prettify/test.js
Expand Up @@ -115,9 +115,7 @@ describe( "Prettify test suite", function() {
$body.append( "<pre class='test'></pre>" );
$prettify
.removeClass( "wb-prettify-inited" )
.addClass( "lang-sql" )
.addClass( "all-pre" )
.addClass( "linenums" )
.addClass( "lang-sql all-pre linenums" )
.trigger( "wb-init.wb-prettify" );
} );

Expand Down Expand Up @@ -148,8 +146,7 @@ describe( "Prettify test suite", function() {

$body.append( "<pre class='test'></pre>" );
$prettify
.removeClass( "wb-prettify-inited" )
.removeClass( "all-pre linenums" )
.removeClass( "wb-prettify-inited all-pre linenums" )
.data( {
allpre: true,
linenums: true
Expand Down

0 comments on commit 7ef1a07

Please sign in to comment.