angular-cn/tools/ts-api-guardian/lib
Alan Agius 5f95796b61 test: fix ts api guardian and public guard tests on windows (#30105)
This change addresses several issues with ts-api-guardian and public api guards related tests in Windows

The fixes contain 3 main changes:
1) In `stripExportPattern` - replace `^` with `^^^^`  in RegExp due to a double escaping requirment under Windows. Note that under Linux this the extra character has no effect because it's still a valid RegExp in Js.

2. Force `*.patch` files to always be with a LF line sequence instead of CRLF in windows

3. When adding JSDoc comments consider the presence of a carriage return in a line new feed

Partially addresses #29785

PR Close #30105
2019-04-26 16:32:22 -07:00
..
cli.ts refactor(ivy): Update @publicApi to @codeGenApi on ivy instructions (#29820) 2019-04-11 08:19:23 -07:00
main.ts test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
serializer.ts test: fix ts api guardian and public guard tests on windows (#30105) 2019-04-26 16:32:22 -07:00