Permalink
Browse files

simple test with unary operator

  • Loading branch information...
1 parent 4910509 commit 97be91212f1c5b74203d57fe5e6ff0e2b4f5bf7a @depesz committed Sep 5, 2012
Showing with 29 additions and 0 deletions.
  1. +28 −0 t/07-parser-data/16-expect
  2. +1 −0 t/07-parser-data/16-query
View
@@ -0,0 +1,28 @@
+[
+{
+ ':type' => 'Select',
+ 'results' => [
+ {
+ 'value' => {
+ 'operator' => '@@',
+ 'left' => {
+ 'operator' => '##',
+ 'right' => {
+ 'value' => '5',
+ ':type' => 'Literal_Value',
+ 'type' => 'INTEGER_CONSTANT'
+ },
+ ':type' => 'Operation'
+ },
+ 'right' => {
+ 'value' => '3',
+ ':type' => 'Literal_Value',
+ 'type' => 'INTEGER_CONSTANT'
+ },
+ ':type' => 'Operation'
+ },
+ ':type' => 'Result_Column'
+ }
+ ]
+}
+]
@@ -0,0 +1 @@
+select ## 5 @@ 3

0 comments on commit 97be912

Please sign in to comment.