Skip to content

Commit a288a15

Browse files
committed
test: fix test names
1 parent 752d4c5 commit a288a15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/linter/tests/rules/invalid-change-version.test.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ changes:
113113
strictEqual(result.error, undefined);
114114
});
115115

116-
it('should return an empty array if all change versions are valid', () => {
116+
it('should not report if all change versions are valid', () => {
117117
const yamlContent = dedent`
118118
<!-- YAML
119119
changes:
@@ -143,7 +143,7 @@ changes:
143143
strictEqual(context.report.mock.callCount(), 0);
144144
});
145145

146-
it('should return an issue if a change version is invalid', () => {
146+
it('should report an issue if a change version is invalid', () => {
147147
const yamlContent = dedent`
148148
<!-- YAML
149149
changes:
@@ -187,7 +187,7 @@ changes:
187187
]);
188188
});
189189

190-
it('should return an issue if a change version contains a REPLACEME and a version', () => {
190+
it('should report an issue if a change version contains a REPLACEME and a version', () => {
191191
const yamlContent = dedent`
192192
<!-- YAML
193193
changes:

0 commit comments

Comments
 (0)