From a6ffd18b3d7e2f31398ca0882295a2e097fcf689 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 9 Apr 2018 18:50:38 +0200 Subject: [PATCH] chore: fix test failure due to changed label (#10747) Fixes a test failure that was introduced in bcb5697a4e0a7dd401f8c42945fecb1a2ddafd28, as a result of 63f713f846a1b2c5a69c4342f0816085a341457f being merged in first which ended up changing the text inside the sort header. --- src/lib/table/table.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/table/table.spec.ts b/src/lib/table/table.spec.ts index 98bd3ff0a32..67ba1fc4f43 100644 --- a/src/lib/table/table.spec.ts +++ b/src/lib/table/table.spec.ts @@ -277,7 +277,7 @@ describe('MatTable', () => { component.sort.sort(component.sortHeader); fixture.detectChanges(); expectTableToMatchContent(tableElement, [ - ['Column A\xa0Sorted by a ascending', 'Column B', 'Column C'], + ['Column A', 'Column B', 'Column C'], ['-1', 'b_3', 'c_3'], ['0', 'b_2', 'c_2'], ['1', 'b_1', 'c_1'], @@ -289,7 +289,7 @@ describe('MatTable', () => { component.sort.sort(component.sortHeader); fixture.detectChanges(); expectTableToMatchContent(tableElement, [ - ['Column A\xa0Sorted by a descending', 'Column B', 'Column C'], + ['Column A', 'Column B', 'Column C'], ['1', 'b_1', 'c_1'], ['0', 'b_2', 'c_2'], ['-1', 'b_3', 'c_3'],