Skip to content

Commit

Permalink
Fixes changed expected outputs, adds a few more test
Browse files Browse the repository at this point in the history
  • Loading branch information
netj committed Feb 1, 2016
1 parent 08a3f3b commit 045136b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/expected-output-test/expressions/print.expected
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ G(x) :-

H(x) :-
b(x, y, z, w),
[(x + w) = 100, x > 50].
(x + w) = 100,
x > 50.

I(x) :-
b(x, y, z, w),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ T___1(a int).

T___1 += f(a, b) :-
R(a, b),
[10 < a, a < 20].
10 < a,
a < 20.

T(a) :-
T___1(a).
Expand All @@ -50,7 +51,8 @@ T___2(a int).

T___2 += f(a, b) :-
R(a, b),
[100 < a, a < 200].
100 < a,
a < 200.

T(a) :-
T___2(a).
Expand Down
1 change: 1 addition & 0 deletions test/query-test/spouse_example/article_ids-parens.ddlogq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(id) ?- articles(id, _).
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SELECT R0.article_id AS "id"
FROM articles R0

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
id ?- articles(id, _).
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SELECT R0.article_id AS "id"
FROM articles R0

0 comments on commit 045136b

Please sign in to comment.