fixes in module flow

also:
  - user is everyone's parent;
  - system predicate <=> prolog:predicate
This commit is contained in:
Vítor Santos Costa
2019-03-30 10:37:16 +00:00
parent 2af4dae017
commit 3f9e57fc48
10 changed files with 33 additions and 40 deletions

View File

@@ -1,5 +1,4 @@
:- use_module(library(plunit)).
:- begin_tests(sqlite3).
@@ -13,7 +12,7 @@ test(db_open) :-
db_open(sqlite3, '/data/user/0/pt.up.yap/files/chinook.db', _, _).
:- else.
test(db_open) :-
db_open(sqlite3,myddas,dataset('chinook.db'),_,_).
db_open(sqlite3,myddas,dataset('chinook.db'),_,_).
:-endif.
test(schema0, all((Desc ==[(table albums),
@@ -98,3 +97,4 @@ test(close) :-
:- end_tests(sqlite3).
:- run_tests.