@@ -64,7 +64,10 @@ describe('partials', function () {
6464 return 'missing' ;
6565 } )
6666 . withPartial ( 'dude' , '{{name}} ({{url}}) ' )
67- . toThrow ( Handlebars . Exception , 'The partial missing could not be found' ) ;
67+ . toThrow (
68+ Handlebars . Exception ,
69+ 'The partial "missing" could not be found'
70+ ) ;
6871 } ) ;
6972
7073 it ( 'partials with context' , function ( ) {
@@ -156,7 +159,7 @@ describe('partials', function () {
156159 it ( 'rendering undefined partial throws an exception' , function ( ) {
157160 expectTemplate ( '{{> whatever}}' ) . toThrow (
158161 Handlebars . Exception ,
159- 'The partial whatever could not be found'
162+ 'The partial " whatever" could not be found'
160163 ) ;
161164 } ) ;
162165
@@ -174,7 +177,7 @@ describe('partials', function () {
174177 it ( 'rendering template partial in vm mode throws an exception' , function ( ) {
175178 expectTemplate ( '{{> whatever}}' ) . toThrow (
176179 Handlebars . Exception ,
177- 'The partial whatever could not be found'
180+ 'The partial " whatever" could not be found'
178181 ) ;
179182 } ) ;
180183
@@ -472,7 +475,7 @@ describe('partials', function () {
472475
473476 expectTemplate (
474477 '{{#with .}}{{#*inline "myPartial"}}success{{/inline}}{{/with}}{{> myPartial}}'
475- ) . toThrow ( Error , / m y P a r t i a l c o u l d n o t / ) ;
478+ ) . toThrow ( Error , / " m y P a r t i a l " c o u l d n o t / ) ;
476479 } ) ;
477480
478481 it ( 'should override global partials' , function ( ) {
0 commit comments