diff --git a/src/test.js b/src/test.js index 6f25b2049..273832689 100644 --- a/src/test.js +++ b/src/test.js @@ -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 } diff --git a/test/main/assert.js b/test/main/assert.js index 43a2c2a25..ed5c166a1 100644 --- a/test/main/assert.js +++ b/test/main/assert.js @@ -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/ ); } ); }() );