| Index: pkg/mdv/test/binding_syntax_test.dart
|
| diff --git a/pkg/mdv/test/binding_syntax_test.dart b/pkg/mdv/test/binding_syntax_test.dart
|
| index 55bb1f45eaa35f0c9586eac555b2b59632ca0758..de82512f26d212f963a78a4291492556c6605d89 100644
|
| --- a/pkg/mdv/test/binding_syntax_test.dart
|
| +++ b/pkg/mdv/test/binding_syntax_test.dart
|
| @@ -115,37 +115,6 @@ syntaxTests() {
|
| }
|
| });
|
|
|
| - // Note: this test was original, not a port of an existing test.
|
| - test('getInstanceFragment', () {
|
| - var model = toSymbolMap({'foo': 'bar'});
|
| -
|
| - var testSyntax = new WhitespaceRemover();
|
| - TemplateElement.syntax['Test'] = testSyntax;
|
| - try {
|
| - var div = createTestHtml(
|
| - '''<template bind syntax="Test">
|
| - {{ foo }}
|
| - <template bind>
|
| - {{ foo }}
|
| - </template>
|
| - </template>''');
|
| -
|
| - recursivelySetTemplateModel(div, model);
|
| - deliverChangeRecords();
|
| -
|
| - expect(testSyntax.trimmed, 2);
|
| - expect(testSyntax.removed, 1);
|
| -
|
| - expect(div.nodes.length, 4);
|
| - expect(div.nodes.last.text, 'bar');
|
| - expect(div.nodes[2].tagName, 'TEMPLATE');
|
| - expect(div.nodes[2].attributes['syntax'], 'Test');
|
| -
|
| - } finally {
|
| - TemplateElement.syntax.remove('Test');
|
| - }
|
| - });
|
| -
|
| test('Basic', () {
|
| var model = toSymbolMap({'foo': 2, 'bar': 4});
|
|
|
|
|