mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix test failure due to changed label (#10747)
Fixes a test failure that was introduced inbcb5697a4e, as a result of63f713f846being merged in first which ended up changing the text inside the sort header.
This commit is contained in:
committed by
Jeremy Elbourn
parent
edb57f969f
commit
a6ffd18b3d
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user