File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/@ember/-internals/glimmer/tests/integration/modifiers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -245,10 +245,10 @@ moduleFor(
245245 this . assertCounts ( { adds : 1 , removes : 1 } ) ;
246246 }
247247
248-
249248 [ `@test it throws a helpful error when callback is undefined` ] ( assert ) {
250249 if ( DEBUG ) {
251- let expectedMessage = / Y o u m u s t p a s s a f u n c t i o n a s t h e s e c o n d a r g u m e n t t o t h e ` o n ` m o d i f i e r / ;
250+ let expectedMessage =
251+ / Y o u m u s t p a s s a f u n c t i o n a s t h e s e c o n d a r g u m e n t t o t h e ` o n ` m o d i f i e r / ;
252252 assert . throws ( ( ) => {
253253 this . render ( '<button {{on "click" undefined}}>Click Me</button>' ) ;
254254 } , expectedMessage ) ;
@@ -259,7 +259,8 @@ moduleFor(
259259
260260 [ `@test it throws a helpful error when callback is null` ] ( assert ) {
261261 if ( DEBUG ) {
262- let expectedMessage = / Y o u m u s t p a s s a f u n c t i o n a s t h e s e c o n d a r g u m e n t t o t h e ` o n ` m o d i f i e r / ;
262+ let expectedMessage =
263+ / Y o u m u s t p a s s a f u n c t i o n a s t h e s e c o n d a r g u m e n t t o t h e ` o n ` m o d i f i e r / ;
263264 assert . throws ( ( ) => {
264265 this . render ( '<button {{on "click" null}}>Click Me</button>' ) ;
265266 } , expectedMessage ) ;
You can’t perform that action at this time.
0 commit comments