@@ -42,7 +42,8 @@ tester.run('block-lang', rule, {
4242 options : [ { script : { lang : 'ts' } } ] ,
4343 errors : [
4444 {
45- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
45+ message :
46+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
4647 line : 2 ,
4748 column : 15 ,
4849 endLine : 2 ,
@@ -56,7 +57,8 @@ tester.run('block-lang', rule, {
5657 options : [ { script : { lang : [ 'ts' ] } } ] ,
5758 errors : [
5859 {
59- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
60+ message :
61+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
6062 line : 2 ,
6163 column : 15 ,
6264 endLine : 2 ,
@@ -84,7 +86,8 @@ tester.run('block-lang', rule, {
8486 options : [ { script : { lang : 'ts' } } ] ,
8587 errors : [
8688 {
87- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
89+ message :
90+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
8891 line : 2 ,
8992 column : 15 ,
9093 endLine : 2 ,
@@ -153,7 +156,7 @@ tester.run('block-lang', rule, {
153156 errors : [
154157 {
155158 message :
156- "Only \" json\" can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the `lang` attribute is allowed." ,
159+ "Only ' json' can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the `lang` attribute is allowed." ,
157160 line : 2 ,
158161 column : 13 ,
159162 endLine : 2 ,
@@ -168,7 +171,7 @@ tester.run('block-lang', rule, {
168171 errors : [
169172 {
170173 message :
171- ' Only " json" , and " yaml" can be used for the \ 'lang\ ' attribute of \ '<i18n>\ '. Or, not specifying the `lang` attribute is allowed.' ,
174+ " Only ' json' , and ' yaml' can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the `lang` attribute is allowed." ,
172175 line : 2 ,
173176 column : 13 ,
174177 endLine : 2 ,
0 commit comments