Skip to content

Commit b3c0bcc

Browse files
committed
Fix test name inconsistencies and typos
1 parent 986fc8d commit b3c0bcc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function tests (assert, what) {
179179
throw new errorConstructor('test');
180180
}
181181

182-
test('assert - Testing the throwing', function () {
182+
test('assert - testing the throwing', function () {
183183
var aethrow = makeBlock(thrower, assert.AssertionError);
184184
aethrow = makeBlock(thrower, assert.AssertionError);
185185

@@ -247,19 +247,19 @@ function tests (assert, what) {
247247
assert.ok(threw, 'wrong constructor validation');
248248
});
249249

250-
test('assert - use a RegExp to validate error message', function () {
250+
test('assert - use a RegExp to validate error message', function () {
251251
assert.throws(makeBlock(thrower, TypeError), /test/);
252252
});
253253

254-
test('assert - se a fn to validate error object', function () {
254+
test('assert - use a fn to validate error object', function () {
255255
assert.throws(makeBlock(thrower, TypeError), function(err) {
256256
if ((err instanceof TypeError) && /test/.test(err)) {
257257
return true;
258258
}
259259
});
260260
});
261261

262-
test('assert - Make sure deepEqual doesn\'t loop forever on circular refs', function () {
262+
test('assert - make sure deepEqual doesn\'t loop forever on circular refs', function () {
263263
var b = {};
264264
b.b = b;
265265

@@ -276,7 +276,7 @@ function tests (assert, what) {
276276
assert.ok(gotError || !equal, gotError ? 'got error': 'are equal');
277277
});
278278

279-
test('assert - Ensure reflexivity of deepEqual with `arguments` objects', function() {
279+
test('assert - ensure reflexivity of deepEqual with `arguments` objects', function() {
280280
var args = (function() { return arguments; })();
281281
assert.throws(makeBlock(assert.deepEqual, [], args), assert.AssertionError);
282282
assert.throws(makeBlock(assert.deepEqual, args, []), assert.AssertionError);

0 commit comments

Comments
 (0)