fix(ivy): compiler compliance tests actualized (#27473)

PR #27404 introduced additional test case to make sure we generate `elementStyling` instructions with proper set of arguments (first argument was missing in some cases). It looks like that PR was created before we updated host vars count calculation and the `allocHostVars` becomes unnecessary in the test cases introduced in PR #27404. This commit actualizes this test to get rid of unnecessary `allocHostVars` instruction.

PR Close #27473
This commit is contained in:
Andrew Kushnir 2018-12-04 20:54:42 -08:00 committed by Igor Minar
parent b6dbcf93a0
commit a3ee08968e
2 changed files with 1 additions and 2 deletions

View File

@ -2012,7 +2012,7 @@ describe('i18n support in the view compiler', () => {
const exceptions = {
'3052001905251380936': 'Wrapper message generated by "ng xi18n" around ICU: " {$ICU} "'
};
verify(input, output, {exceptions, verbose: true});
verify(input, output, {exceptions});
});
it('should handle icus in different contexts', () => {

View File

@ -906,7 +906,6 @@ describe('compiler compliance: styling', () => {
function ClassDirective_HostBindings(rf, ctx, elIndex) {
if (rf & 1) {
$r3$.ɵallocHostVars(1);
$r3$.ɵelementStyling(null, null, null, ctx);
}
if (rf & 2) {