1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

add svg to test

This commit is contained in:
ido 2015-11-12 12:29:55 +02:00
parent cd10ee8b70
commit e73e15b186
3 changed files with 3 additions and 1 deletions

1
test/data/svg.rt Normal file
View File

@ -0,0 +1 @@
<svg class="badge"><use xlinkHref="#logo"></use></svg>

After

Width:  |  Height:  |  Size: 55 B

1
test/data/svg.rt.html Normal file
View File

@ -0,0 +1 @@
<svg class="badge"><use xlink:href="#logo"/></svg>

After

Width:  |  Height:  |  Size: 51 B

View File

@ -173,7 +173,7 @@ test('convert jsrt and test source results', function (t) {
test('html tests', function (t) {
var files = ['scope.rt', 'scope-trailing-semicolon.rt', 'scope-variable-references.rt', 'lambda.rt', 'eval.rt', 'props.rt', 'custom-element.rt', 'style.rt', 'concat.rt',
'js-in-attr.rt', 'props-class.rt', 'rt-class.rt', 'className.rt',
'js-in-attr.rt', 'props-class.rt', 'rt-class.rt', 'className.rt', 'svg.rt',
'scope-evaluated-after-repeat.rt', 'scope-evaluated-after-repeat2.rt', 'scope-evaluated-after-if.rt', 'scope-obj.rt'
];
t.plan(files.length);