@@ -64,7 +64,10 @@ describe('partials', function () {
64
64
return 'missing' ;
65
65
} )
66
66
. 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
+ ) ;
68
71
} ) ;
69
72
70
73
it ( 'partials with context' , function ( ) {
@@ -156,7 +159,7 @@ describe('partials', function () {
156
159
it ( 'rendering undefined partial throws an exception' , function ( ) {
157
160
expectTemplate ( '{{> whatever}}' ) . toThrow (
158
161
Handlebars . Exception ,
159
- 'The partial whatever could not be found'
162
+ 'The partial " whatever" could not be found'
160
163
) ;
161
164
} ) ;
162
165
@@ -174,7 +177,7 @@ describe('partials', function () {
174
177
it ( 'rendering template partial in vm mode throws an exception' , function ( ) {
175
178
expectTemplate ( '{{> whatever}}' ) . toThrow (
176
179
Handlebars . Exception ,
177
- 'The partial whatever could not be found'
180
+ 'The partial " whatever" could not be found'
178
181
) ;
179
182
} ) ;
180
183
@@ -472,7 +475,7 @@ describe('partials', function () {
472
475
473
476
expectTemplate (
474
477
'{{#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 / ) ;
476
479
} ) ;
477
480
478
481
it ( 'should override global partials' , function ( ) {
0 commit comments