@@ -37,13 +37,13 @@ describe('Wildcard Searches', () => {
3737 // phrase with unequal quotes (edge cases)
3838 { input : `"microsoft office` , expected : [ `"microsoft` , `office` ] } ,
3939 { input : `"\\"abc\\"` , expected : [ `"abc\\` ] } ,
40- { input : `"""` , expected : [ `" ` ] } ,
40+ { input : `"""` , expected : [ `` , ` `] } ,
4141 { input : `a"b` , expected : [ `a"b` ] } ,
4242 { input : `a\"b` , expected : [ `a"b` ] } ,
4343 // very edge cases
4444 { input : `\"a\"b` , expected : [ `a` , `b` ] } , // because it's "a"b
4545 { input : `\"a\" b` , expected : [ `a` , `b` ] } , // because it's "a" b
46- { input : `\"\"a \"b\"` , expected : [ `"" a` , `b` ] } ,
46+ { input : `\"\"a \"b\"` , expected : [ `` , ` a`, `b` ] } ,
4747 { input : `"'"` , expected : [ `'` ] } ,
4848 { input : `'"'` , expected : [ `'"'` ] } ,
4949 { input : `'""'` , expected : [ `'""'` ] } ,
@@ -52,7 +52,7 @@ describe('Wildcard Searches', () => {
5252 ] ;
5353
5454 testCases . forEach ( ( { input, expected } ) => {
55- it ( `should correctly tokenize " ${ input } " into ${ JSON . stringify ( expected ) } ` , ( ) => {
55+ it ( `should correctly tokenize ' ${ input } ' into ${ JSON . stringify ( expected ) } ` , ( ) => {
5656 const result = SearchRequest . tokenizeSearchText ( input ) ;
5757 expect ( result ) . toEqual ( expected ) ;
5858 } ) ;
0 commit comments