diff --git a/src/test/javascript/spec/component/plagiarism/split-pane-header.component.spec.ts b/src/test/javascript/spec/component/plagiarism/split-pane-header.component.spec.ts index 243faabaae0d..5231b4aaee7f 100644 --- a/src/test/javascript/spec/component/plagiarism/split-pane-header.component.spec.ts +++ b/src/test/javascript/spec/component/plagiarism/split-pane-header.component.spec.ts @@ -240,7 +240,7 @@ describe('SplitPaneHeaderComponent', () => { comp1.toggleShowFilesWithoutPropagation(true); - expect(comp1.showFiles).toBeTrue(initialShowFiles); + expect(comp1.showFiles).not.toBe(initialShowFiles); }); it('should not update showFiles when hasFiles returns false', () => {