From 27281c3118eb6317ddbc21f079d2bffc542ffa79 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 31 Oct 2021 23:36:04 +1100 Subject: [PATCH] docs: Fix a few typos There are small typos in: - tests/qunit.js Fixes: - Should read `prove` rather than `proove`. - Should read `parameters` rather than `paramaters`. - Should read `modifiers` rather than `modifers`. - Should read `guarantee` rather than `gurantee`. - Should read `annotation` rather than `annotaion`. --- tests/qunit.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/qunit.js b/tests/qunit.js index d630c43..9aa8576 100644 --- a/tests/qunit.js +++ b/tests/qunit.js @@ -301,7 +301,7 @@ var QUnit = { }, /** - * Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through. + * Specify the number of expected assertions to guarantee that failed test (no assertions are run at all) don't slip through. */ expect: function(asserts) { config.current.expected = asserts; @@ -482,7 +482,7 @@ var config = { moduleDone: [] }; -// Load paramaters +// Load parameters (function() { var location = window.location || { search: "", protocol: "file:" }, params = location.search.slice( 1 ).split( "&" ), @@ -1070,7 +1070,7 @@ QUnit.equiv = function () { // for string, boolean, number and null function useStrictEquality(b, a) { if (b instanceof a.constructor || a instanceof b.constructor) { - // to catch short annotaion VS 'new' annotation of a + // to catch short annotation VS 'new' annotation of a // declaration // e.g. var i = 1; // var j = new Number(1); @@ -1099,7 +1099,7 @@ QUnit.equiv = function () { "regexp" : function(b, a) { return QUnit.objectType(b) === "regexp" && a.source === b.source && // the regex itself - a.global === b.global && // and its modifers + a.global === b.global && // and its modifiers // (gmi) ... a.ignoreCase === b.ignoreCase && a.multiline === b.multiline; @@ -1147,7 +1147,7 @@ QUnit.equiv = function () { "object" : function(b, a) { var i, j, loop; - var eq = true; // unless we can proove it + var eq = true; // unless we can prove it var aProperties = [], bProperties = []; // collection of // strings