Skip to content

Commit

Permalink
Merge pull request #2317 from aarroyoc/all-modules-test
Browse files Browse the repository at this point in the history
Add all_mdoules test and fix library(csv)
  • Loading branch information
mthom authored Feb 4, 2024
2 parents 673329d + ec4a874 commit 140a15f
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/csv.pl
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
!,
( separator(Opt) ->
row(Y, Opt)
; end_token ->
; end_token,
{ Y = [] }).


Expand Down
Empty file.
48 changes: 48 additions & 0 deletions tests/scryer/cli/src_tests/all_modules.stdin
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
use_module(library(arithmetic)).
use_module(library(assoc)).
use_module(library(atts)).
use_module(library(between)).
use_module(library(charsio)).
use_module(library(clpb)).
use_module(library(clpz)).
use_module(library(cont)).
use_module(library(crypto)).
use_module(library(csv)).
use_module(library(dcgs)).
use_module(library(debug)).
use_module(library(diag)).
use_module(library(dif)).
use_module(library(error)).
use_module(library(ffi)).
use_module(library(files)).
use_module(library(format)).
use_module(library(freeze)).
use_module(library(gensym)).
use_module(library(http/http_open)).
use_module(library(http/http_server)).
use_module(library(iso_ext)).
use_module(library(lambda)).
use_module(library(lists)).
use_module(library(ordsets)).
use_module(library(os)).
use_module(library(pairs)).
use_module(library(pio)).
use_module(library(queues)).
use_module(library(random)).
use_module(library(reif)).
use_module(library(serialization/abnf)).
use_module(library(serialization/json)).
use_module(library(sgml)).
use_module(library(si)).
use_module(library(simplex)).
use_module(library(sockets)).
use_module(library(tabling)).
use_module(library(terms)).
use_module(library(time)).
use_module(library(tls)).
use_module(library(ugraphs)).
use_module(library(uuid)).
use_module(library(wasm)).
use_module(library(when)).
use_module(library(xpath)).
halt.
47 changes: 47 additions & 0 deletions tests/scryer/cli/src_tests/all_modules.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
true.
1 change: 1 addition & 0 deletions tests/scryer/cli/src_tests/all_modules.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
args = ["-f", "--no-add-history"]

0 comments on commit 140a15f

Please sign in to comment.