File tree Expand file tree Collapse file tree
test-app/app/src/main/assets/app/shared/Require Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ describe("TNS require", function () {
243243
244244 it ( "shouldn't load invalid JSON file" , function ( ) {
245245 require ( "./RequireJsonCorruptFile1" ) ;
246- expect ( TNSGetOutput ( ) ) . toMatch ( / J S O N P a r s e e r r o r | U n e x p e c t e d t o k e n s i n J S O N a t p o s i t i o n 1 $ | J S O N P a r s e e r r o r : U n a b l e t o p a r s e J S O N s t r i n g $ | N o i d e n t i f i e r s a l l o w e d d i r e c t l y a f t e r n u m e r i c l i t e r a l $ | U n e x p e c t e d n o n - w h i t e s p a c e c h a r a c t e r / ) ;
246+ expect ( TNSGetOutput ( ) ) . toMatch ( / u n e x p e c t e d d a t a a t t h e e n d | J S O N P a r s e e r r o r | U n e x p e c t e d t o k e n s i n J S O N a t p o s i t i o n 1 $ | J S O N P a r s e e r r o r : U n a b l e t o p a r s e J S O N s t r i n g $ | N o i d e n t i f i e r s a l l o w e d d i r e c t l y a f t e r n u m e r i c l i t e r a l $ | U n e x p e c t e d n o n - w h i t e s p a c e c h a r a c t e r / ) ;
247247 } ) ;
248248
249249 it ( "when using global in a module global should be defined" , function ( ) {
You can’t perform that action at this time.
0 commit comments