diff --git a/mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts b/mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts index 327bc1ed91f35276eea40ddcf8046ecb3017d4ae..9ab66da5943e924b082a177c8f61dbce3a24c6c3 100644 --- a/mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts +++ b/mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts @@ -96,7 +96,7 @@ describe('ExerciseListPage', () => { it('should get the matching degree', () => { let degree: string = exerciseListPage.getMatchingDegree(new ExerciseMC({matching_degree: 20})); - expect(degree).toBe('20'); + expect(degree).toBe('20%'); degree = exerciseListPage.getMatchingDegree(new ExerciseMC()); expect(degree).toBeFalsy(); });