Skip to content

Commit 8219e7e

Browse files
committed
Messages were backwards
1 parent 4b79af6 commit 8219e7e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/docs/coverage-test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ QUnit.module('Docs coverage', function (hooks) {
2323
let missing = setDifference(expectedItems, docsItems);
2424
assert.emptySet(
2525
missing,
26-
'If you have added new features, please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
26+
'The following classitems are missing. If you intentionally removed a public API method, please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
2727
);
2828
});
2929

3030
QUnit.test('No extraneous classitems', function (assert) {
3131
let extraneous = setDifference(docsItems, expectedItems);
3232
assert.emptySet(
3333
extraneous,
34-
'If you intentionally removed a public API method, please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
34+
'The following classitems are unexpected. If you have added new features, please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
3535
);
3636
});
3737
});
@@ -51,15 +51,15 @@ QUnit.module('Docs coverage', function (hooks) {
5151
let missing = setDifference(expectedItems, docsItems);
5252
assert.emptySet(
5353
missing,
54-
'If you have added new classes, please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
54+
'The following classes are missing. If you intentionally removed a public API class, please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
5555
);
5656
});
5757

5858
QUnit.test('No extraneous classes', function (assert) {
5959
let extraneous = setDifference(docsItems, expectedItems);
6060
assert.emptySet(
6161
extraneous,
62-
'If you intentionally removed a public API class, please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
62+
'The following classes are unexpected. If you have added new classes, please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
6363
);
6464
});
6565
});
@@ -79,15 +79,15 @@ QUnit.module('Docs coverage', function (hooks) {
7979
let missing = setDifference(expectedItems, docsItems);
8080
assert.emptySet(
8181
missing,
82-
'If you have added new modules (package), please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
82+
'The following modules (packages) are missing. If you intentionally removed a public API module (package), please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
8383
);
8484
});
8585

8686
QUnit.test('No extraneous modules (packages)', function (assert) {
8787
let extraneous = setDifference(docsItems, expectedItems);
8888
assert.emptySet(
8989
extraneous,
90-
'If you intentionally removed a public API module (package), please update tests/docs/expected.js. Otherwise, documentation is missing, incorrectly formatted, or in a directory that is not watched by yuidoc. All files containing documentation must have a yuidoc class declaration.'
90+
'The following modules (packages) are unexpected. If you have added new modules (packages), please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
9191
);
9292
});
9393
});

0 commit comments

Comments
 (0)