Skip to content

Commit

Permalink
Fixes spelling of 'occurred'
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickberkeley authored and trentmwillis committed Dec 23, 2017
1 parent 81e0f69 commit 2999953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test.js
Expand Up @@ -410,7 +410,7 @@ Test.prototype = {

pushResult: function( resultInfo ) {
if ( this !== config.current ) {
throw new Error( "Assertion occured after test had finished." );
throw new Error( "Assertion occurred after test had finished." );
}

// Destructure of resultInfo = { result, actual, expected, message, negative }
Expand Down
2 changes: 1 addition & 1 deletion test/main/assert.js
Expand Up @@ -405,6 +405,6 @@ QUnit.test( "throws", function( assert ) {
assert.expect( 1 );
assert.throws( function() {
previousTestAssert.ok( true );
}, /Assertion occured after test had finished/ );
}, /Assertion occurred after test had finished/ );
} );
}() );

0 comments on commit 2999953

Please sign in to comment.