File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ test("throw error when invalid character attributes", () => {
267267 ) . toThrowError ( "[VueLive] Invalid attribute name: $s" ) ;
268268} ) ;
269269
270- test ( "throw error when invalid character attributes" , ( ) => {
270+ test ( "throw error when invalid character attributes $ " , ( ) => {
271271 expect ( ( ) =>
272272 checkTemplate ( {
273273 template : `<div $s="as">
@@ -277,14 +277,14 @@ test("throw error when invalid character attributes", () => {
277277 ) . toThrowError ( "[VueLive] Invalid attribute name: $s" ) ;
278278} ) ;
279279
280- test ( "throw error when invalid character attributes" , ( ) => {
280+ test ( "throw error when invalid character attributes + " , ( ) => {
281281 expect ( ( ) =>
282282 checkTemplate ( {
283- template : `<div s: tata="as">
283+ template : `<div s+ tata="as">
284284 <div/>
285285 </div>` ,
286286 } )
287- ) . toThrowError ( "[VueLive] Invalid attribute name: s: tata" ) ;
287+ ) . toThrowError ( "[VueLive] Invalid attribute name: s+ tata" ) ;
288288} ) ;
289289
290290test ( "not error when all attributes are valid" , ( ) => {
You can’t perform that action at this time.
0 commit comments