refactor: change remaining <template> to <ng-template> (#14706)

This commit is contained in:
Victor Berchet
2017-03-01 08:02:37 -08:00
committed by Igor Minar
parent bc9e1debf2
commit d1182af1a4
4 changed files with 10 additions and 9 deletions

View File

@ -50,8 +50,8 @@ export function main() {
it('should display the template according to the exact numeric value', async(() => {
const template = '<div>' +
'<ul [ngPlural]="switchValue">' +
'<template ngPluralCase="0"><li>you have no messages.</li></template>' +
'<template ngPluralCase="1"><li>you have one message.</li></template>' +
'<ng-template ngPluralCase="0"><li>you have no messages.</li></ng-template>' +
'<ng-template ngPluralCase="1"><li>you have one message.</li></ng-template>' +
'</ul></div>';
fixture = createTestComponent(template);