@@ -46,41 +46,41 @@ public function testDoubleLiteral()
4646
4747 public function testChildNode ()
4848 {
49- $ literal = $ this ->generator ->evalChildNode (" /foo/bar/baz " );
50- $ this ->assertSame (" ISCHILDNODE(/foo/bar/baz) " , $ literal );
49+ $ literal = $ this ->generator ->evalChildNode (' /foo/bar/baz ' );
50+ $ this ->assertSame (' ISCHILDNODE(/foo/bar/baz) ' , $ literal );
5151 }
5252
5353 public function testDescendantNode ()
5454 {
55- $ literal = $ this ->generator ->evalDescendantNode (" /foo/bar/baz " );
56- $ this ->assertSame (" ISDESCENDANTNODE(/foo/bar/baz) " , $ literal );
55+ $ literal = $ this ->generator ->evalDescendantNode (' /foo/bar/baz ' );
56+ $ this ->assertSame (' ISDESCENDANTNODE(/foo/bar/baz) ' , $ literal );
5757 }
5858
5959 public function testPopertyExistence ()
6060 {
61- $ literal = $ this ->generator ->evalPropertyExistence (null , " foo " );
62- $ this ->assertSame (" foo IS NOT NULL " , $ literal );
61+ $ literal = $ this ->generator ->evalPropertyExistence (null , ' foo ' );
62+ $ this ->assertSame (' [ foo] IS NOT NULL' , $ literal );
6363 }
6464
6565 public function testFullTextSearch ()
6666 {
67- $ literal = $ this ->generator ->evalFullTextSearch (" data " , "'foo' " );
67+ $ literal = $ this ->generator ->evalFullTextSearch (' data ' , "'foo' " );
6868 $ this ->assertSame ("CONTAINS(data.*, 'foo') " , $ literal );
69- $ literal = $ this ->generator ->evalFullTextSearch (" data " , "'foo' " , " bar " );
70- $ this ->assertSame ("CONTAINS(data.bar, 'foo') " , $ literal );
69+ $ literal = $ this ->generator ->evalFullTextSearch (' data ' , "'foo' " , ' bar ' );
70+ $ this ->assertSame ("CONTAINS(data.[ bar] , 'foo') " , $ literal );
7171 }
7272
7373 public function testColumns ()
7474 {
7575 $ literal = $ this ->generator ->evalColumns (null );
76- $ this ->assertSame (" * " , $ literal );
77- $ literal = $ this ->generator ->evalColumns (array (" bar " , " foo " ));
78- $ this ->assertSame (" bar, foo " , $ literal );
76+ $ this ->assertSame (' * ' , $ literal );
77+ $ literal = $ this ->generator ->evalColumns (array (' bar ' , ' foo ' ));
78+ $ this ->assertSame (' bar, foo ' , $ literal );
7979 }
8080
8181 public function testPropertyValue ()
8282 {
83- $ literal = $ this ->generator ->evalPropertyValue (" foo " );
84- $ this ->assertSame (" foo " , $ literal );
83+ $ literal = $ this ->generator ->evalPropertyValue (' foo ' );
84+ $ this ->assertSame (' [ foo] ' , $ literal );
8585 }
8686}
0 commit comments