mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
remove last refs to CCShims
This commit is contained in:
parent
459098312e
commit
979eca042c
5 changed files with 6 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
(test
|
||||
(name t)
|
||||
(flags :standard -strict-sequence -warn-error -a+8 -open CCShims_)
|
||||
(flags :standard -strict-sequence -warn-error -a+8)
|
||||
(modes (best exe))
|
||||
(package containers)
|
||||
(preprocess
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ eq None (of_int 257);;
|
|||
|
||||
q
|
||||
(Q.string_of_size (Q.Gen.return 1))
|
||||
(fun s -> CCShims_.Stdlib.( = ) (to_string s.[0]) s)
|
||||
(fun s -> Stdlib.( = ) (to_string s.[0]) s)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
module T = (val Containers_testlib.make ~__FILE__ ())
|
||||
include T
|
||||
open CCString
|
||||
.Stdlib;;
|
||||
open CCString.Stdlib;;
|
||||
|
||||
q Q.printable_string (fun s -> s = rev (rev s));;
|
||||
q Q.printable_string (fun s -> length s = length (rev s));;
|
||||
|
|
@ -315,7 +314,7 @@ eq ~printer:Q.Print.string "abde"
|
|||
;;
|
||||
|
||||
q Q.printable_string (fun s -> filter (fun _ -> true) s = s);;
|
||||
eq ~printer:Q.Print.string "abcde" (uniq CCShims_.Stdlib.( = ) "abbccdeeeee");;
|
||||
eq ~printer:Q.Print.string "abcde" (uniq Stdlib.( = ) "abbccdeeeee");;
|
||||
eq ~printer:CCFun.id "abc " (ltrim " abc ");;
|
||||
eq ~printer:CCFun.id " abc" (rtrim " abc ");;
|
||||
q Q.(printable_string) (fun s -> String.trim s = (s |> ltrim |> rtrim));;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(test
|
||||
(name t)
|
||||
(flags :standard -strict-sequence -warn-error -a+8 -open CCShims_)
|
||||
(flags :standard -strict-sequence -warn-error -a+8)
|
||||
(modes (best exe))
|
||||
(package containers-data)
|
||||
(libraries containers containers-data containers_testlib iter gen))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(test
|
||||
(name t)
|
||||
(flags :standard -strict-sequence -warn-error -a+8 -open CCShims_)
|
||||
(flags :standard -strict-sequence -warn-error -a+8)
|
||||
(modes (best exe))
|
||||
(package containers-thread)
|
||||
(libraries containers containers-thread containers_testlib iter threads))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue