@@ -46,41 +46,41 @@ public function testDoubleLiteral()
46
46
47
47
public function testChildNode ()
48
48
{
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 );
51
51
}
52
52
53
53
public function testDescendantNode ()
54
54
{
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 );
57
57
}
58
58
59
59
public function testPopertyExistence ()
60
60
{
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 );
63
63
}
64
64
65
65
public function testFullTextSearch ()
66
66
{
67
- $ literal = $ this ->generator ->evalFullTextSearch (" data " , "'foo' " );
67
+ $ literal = $ this ->generator ->evalFullTextSearch (' data ' , "'foo' " );
68
68
$ 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 );
71
71
}
72
72
73
73
public function testColumns ()
74
74
{
75
75
$ 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 );
79
79
}
80
80
81
81
public function testPropertyValue ()
82
82
{
83
- $ literal = $ this ->generator ->evalPropertyValue (" foo " );
84
- $ this ->assertSame (" foo " , $ literal );
83
+ $ literal = $ this ->generator ->evalPropertyValue (' foo ' );
84
+ $ this ->assertSame (' [ foo] ' , $ literal );
85
85
}
86
86
}
0 commit comments