Skip to content

Commit 0189748

Browse files
committed
spelling and semi-colon fixes
1 parent 4ab1958 commit 0189748

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

lib/log.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function getMet(metric) {
225225
print.coverage = function() {
226226
var table;
227227

228-
if (!data.coverages.length) return
228+
if (!data.coverages.length) return;
229229

230230
table = new Table({
231231
head: ['File', 'Statements', 'Branches', 'Functions', 'Lines'],
@@ -242,9 +242,9 @@ print.coverage = function() {
242242
print.globalCoverage = function() {
243243
var coverage, table;
244244

245-
if (!data.coverages.length) return
245+
if (!data.coverages.length) return;
246246

247-
coverage = exports.stats().coverage
247+
coverage = exports.stats().coverage;
248248
table = new Table({
249249
head: ['Files', 'Statements', 'Branches', 'Functions', 'Lines'],
250250
colWidths: [8, 14, 14, 14, 14]

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ http://github.com/jquery/qunit
88

99
- cli
1010
- testrunner api
11-
- test coverage via instanbul
11+
- test coverage via istanbul
1212
- tests inside of one testfile run synchronous, but every testfile runs parallel
1313
- tests from each file run in its own spawned node process
1414
- same API for client and server side code (original QUnit is used)

test/fixtures/async-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
test('1', 1, function (){
2-
ok(true, "tests intermixing sync and async tests #1")
2+
ok(true, "tests intermixing sync and async tests #1");
33
});
44

55
test('a', 2, function(){
@@ -10,10 +10,10 @@ test('a', 2, function(){
1010
ok(true, 'test a2');
1111
start();
1212
}, 10000);
13-
})
13+
});
1414

1515
test('2', 1, function (){
16-
ok(true, "tests intermixing sync and async tests #2")
16+
ok(true, "tests intermixing sync and async tests #2");
1717
});
1818

1919
test('b', 2, function(){
@@ -24,4 +24,4 @@ test('b', 2, function(){
2424
ok(true, 'test b2');
2525
start();
2626
}, 10);
27-
})
27+
});

test/fixtures/testrunner-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
test('myMethod test', function() {
22
equal(myMethod(), 123, 'myMethod returns right result');
33
equal(myMethod(), 321, 'this should trigger an error');
4-
})
4+
});
55

66
test('myAsyncMethod test', function() {
77
ok(true, 'myAsyncMethod started');
@@ -14,7 +14,7 @@ test('myAsyncMethod test', function() {
1414
equal(data, 321, 'this should trigger an error');
1515
start();
1616
});
17-
})
17+
});
1818

1919
test('circular reference', function() {
2020
equal(global, global, 'test global');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
throw new Error('Some error.')
1+
throw new Error('Some error.');

0 commit comments

Comments
 (0)