test(compiler): fix typo "mamespace"

This commit is contained in:
Trotyl Yu 2017-05-15 16:27:42 +08:00 committed by Hans
parent 1ddbddb0db
commit 9315ab88d7
1 changed files with 2 additions and 2 deletions

View File

@ -183,13 +183,13 @@ export function main() {
]);
});
it('should support explicit mamespace', () => {
it('should support explicit namespace', () => {
expect(humanizeDom(parser.parse('<myns:div></myns:div>', 'TestComp'))).toEqual([
[html.Element, ':myns:div', 0]
]);
});
it('should support implicit mamespace', () => {
it('should support implicit namespace', () => {
expect(humanizeDom(parser.parse('<svg></svg>', 'TestComp'))).toEqual([
[html.Element, ':svg:svg', 0]
]);