We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03fbdc4 commit d3602b2Copy full SHA for d3602b2
src/lib/datepicker/datepicker.spec.ts
@@ -274,7 +274,8 @@ describe('MdDatepicker', () => {
274
testComponent.date = '1/1/2017' as any;
275
276
expect(() => fixture.detectChanges()).toThrowError(
277
- /Datepicker: Value must be either a date object recognized by the DateAdapter or an ISO 8601 string\. Instead got: 1\/1\/2017/);
+ 'Datepicker: Value must be either a date object recognized by the DateAdapter or an ' +
278
+ 'ISO 8601 string. Instead got: 1/1/2017');
279
280
testComponent.date = null;
281
});
0 commit comments