Skip to content

Commit a6ffd18

Browse files
crisbetojelbourn
authored andcommitted
chore: fix test failure due to changed label (#10747)
Fixes a test failure that was introduced in bcb5697, as a result of 63f713f being merged in first which ended up changing the text inside the sort header.
1 parent edb57f9 commit a6ffd18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/table/table.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ describe('MatTable', () => {
277277
component.sort.sort(component.sortHeader);
278278
fixture.detectChanges();
279279
expectTableToMatchContent(tableElement, [
280-
['Column A\xa0Sorted by a ascending', 'Column B', 'Column C'],
280+
['Column A', 'Column B', 'Column C'],
281281
['-1', 'b_3', 'c_3'],
282282
['0', 'b_2', 'c_2'],
283283
['1', 'b_1', 'c_1'],
@@ -289,7 +289,7 @@ describe('MatTable', () => {
289289
component.sort.sort(component.sortHeader);
290290
fixture.detectChanges();
291291
expectTableToMatchContent(tableElement, [
292-
['Column A\xa0Sorted by a descending', 'Column B', 'Column C'],
292+
['Column A', 'Column B', 'Column C'],
293293
['1', 'b_1', 'c_1'],
294294
['0', 'b_2', 'c_2'],
295295
['-1', 'b_3', 'c_3'],

0 commit comments

Comments
 (0)