Skip to content

Commit

Permalink
Vendor expect-test-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Mar 13, 2024
1 parent 8a123d0 commit 9dd5bbe
Show file tree
Hide file tree
Showing 9 changed files with 1,123 additions and 3 deletions.
12 changes: 11 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
(and
:dev
(>= 2.8.3)))
(expect-test-helpers
(base_quickcheck
(and
:with-test
(>= v0.16)
Expand Down Expand Up @@ -72,5 +72,15 @@
(< v0.17)))
(ppx_sexp_value
(and
(>= v0.16)
(< v0.17)))
(sexp_pretty
(and
:with-test
(>= v0.16)
(< v0.17)))
(stdio
(and
:with-test
(>= v0.16)
(< v0.17)))))
4 changes: 3 additions & 1 deletion fpath-base.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ depends: [
"ocaml" {>= "5.1"}
"base" {>= "v0.16" & < "v0.17"}
"bisect_ppx" {dev & >= "2.8.3"}
"expect-test-helpers" {with-test & >= "v0.16" & < "v0.17"}
"base_quickcheck" {with-test & >= "v0.16" & < "v0.17"}
"fpath" {>= "0.7.3"}
"ppx_compare" {>= "v0.16" & < "v0.17"}
"ppx_enumerate" {>= "v0.16" & < "v0.17"}
Expand All @@ -23,6 +23,8 @@ depends: [
"ppx_let" {>= "v0.16" & < "v0.17"}
"ppx_sexp_conv" {>= "v0.16" & < "v0.17"}
"ppx_sexp_value" {>= "v0.16" & < "v0.17"}
"sexp_pretty" {with-test & >= "v0.16" & < "v0.17"}
"stdio" {with-test & >= "v0.16" & < "v0.17"}
"odoc" {with-doc}
]
build: [
Expand Down
2 changes: 1 addition & 1 deletion test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Expect_test_helpers
-open
Fpath_base)
(libraries base expect-test-helpers fpath fpath_base)
(libraries base expect_test_helpers fpath fpath_base)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
21 changes: 21 additions & 0 deletions vendor/expect-test-helpers/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Mathieu Barbin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 25 additions & 0 deletions vendor/expect-test-helpers/LICENSE.janestreet
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
This library re-publishes the original `expect_test_helpers_base` library in order
to make it a standalone opam package. The original code can be found
[here](https://github.com/janestreet/core/tree/master/expect_test_helpers_core)
and has the following license:

The MIT License

Copyright (c) 2008--2023 Jane Street Group, LLC opensource-contacts@janestreet.com

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 1 addition & 0 deletions vendor/expect-test-helpers/src/expect_test_helpers.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include Expect_test_helpers_base
Loading

0 comments on commit 9dd5bbe

Please sign in to comment.