chore: fix test failure due to changed label (#10747)

Fixes a test failure that was introduced in bcb5697a4e, as a result of 63f713f846 being merged in first which ended up changing the text inside the sort header.
This commit is contained in:
Kristiyan Kostadinov
2018-04-09 18:50:38 +02:00
committed by Jeremy Elbourn
parent edb57f969f
commit a6ffd18b3d
+2 -2
View File
@@ -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'],