Skip to content

Commit 3059e65

Browse files
drumoniijelbourn
authored andcommitted
test(paginator): fix setting paginator pageIndex (#16682)
1 parent 3f0268f commit 3059e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/paginator/paginator.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ describe('MatPaginator', () => {
164164
});
165165

166166
it('should not allow a negative pageIndex', () => {
167-
paginator.pageSize = -42;
167+
paginator.pageIndex = -42;
168168
expect(paginator.pageIndex).toBeGreaterThanOrEqual(0);
169169
});
170170

0 commit comments

Comments
 (0)