mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `verifyPlaceholdersIntegrity` check in the compliance tests was basically a noop, because it was returning false inside a `forEach` callback. Fixing it revealed that it had fallen out of date, because one of the regexes it uses was incorrect. The problem is that it assumed the placeholder keys would always be string literals, however it's possible that they're identifiers. These changes resolve the issue by not looking at the keys at all since we don't do anything with them. PR Close #51751 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| check_errors.ts | ||
| check_expectations.ts | ||
| compile_test.ts | ||
| di_checks.ts | ||
| expect_emit.ts | ||
| expected_file_macros.ts | ||
| function_checks.ts | ||
| get_compliance_tests.ts | ||
| golden_partials.ts | ||
| i18n_checks.ts | ||
| i18n_helpers.ts | ||
| sourcemap_helpers.ts | ||
| test_runner.ts | ||