Skip to content

Commit 83c0aa9

Browse files
Review feedback
1 parent 986ddd4 commit 83c0aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/code-analyzer-pmd-engine/test/cpd-engine.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('Tests for the runRules method of CpdEngine', () => {
4949
expect(await engine.runRules([],{workspace: new Workspace([__dirname])})).toEqual({violations: []});
5050
});
5151

52-
it('When rule name is not associated with a language that CPD knows about', async () => {
52+
it('When rule name is not associated with a language that CPD knows about, then throw error', async () => {
5353
const engine: CpdEngine = new CpdEngine();
5454
await expect(engine.runRules(['DetectCopyPasteForOops'], {workspace: new Workspace([__dirname])})).rejects.toThrow(
5555
/Unexpected error: The rule 'DetectCopyPasteForOops' does not map to a supported CPD language:.*/);

0 commit comments

Comments
 (0)