Skip to content

Commit 3b53cfb

Browse files
committed
[new release] ppx_expect_nobase (0.17.3+nobase-2)
CHANGES: * Enforce rules for the formatting of the strings in `[%expect]` blocks (their indentation level and the number of leading/trailing spaces) when `-expect-test-strict-indentation=true` is passed to the ppx driver. * Omit a redundant call to `Expect_test_config.run` (which was used just wrap a call to `flush` in the monadic environment). * Warn when one expect test is reached from another, even if the inner expect test would not be run (because of e.g. the `-tags` argument passed to the `inline_tests_runner`). * Flush output generated in C stubs so that it is captured together with output that originates in OCaml. * Support the shorthand syntax for extension points with string payloads (`{%expect||}`). * Print `Output i / n` in the separators printed between inconsistent outputs in an expect block reached multiple times.
1 parent 0939e07 commit 3b53cfb

File tree

1 file changed

+42
-0
lines changed
  • packages/ppx_expect_nobase/ppx_expect_nobase.0.17.3+nobase-2

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
synopsis: "Cram like framework for OCaml (with stripped dependencies)"
3+
description: """
4+
Testing framework: fork of ppx_expect, but with less dependecies.
5+
Original ppx_expect is a part of the Jane Street's PPX rewriters collection."""
6+
maintainer: ["Jane Street Group, LLC" "Dmitrii Kosarev a.k.a. Kakadu"]
7+
authors: ["Jane Street Group, LLC"]
8+
license: "MIT"
9+
homepage: "https://github.com/Kakadu/ppx_expect_nobase"
10+
bug-reports: "https://github.com/Kakadu/ppx_expect_nobase/issues"
11+
depends: [
12+
"dune" {>= "3.11"}
13+
"ocaml" {>= "4.14.2" & < "5.0.0" | >= "5.3.0" & <= "5.4.0"}
14+
"ppx_inline_test_nobase" {>= "v0.17.0.2"}
15+
"sexplib"
16+
"ppxlib" {>= "0.35.0"}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@runtest" {with-test}
30+
"@doc" {with-doc}
31+
]
32+
]
33+
dev-repo: "git+https://github.com/Kakadu/ppx_expect_nobase.git"
34+
url {
35+
src:
36+
"https://github.com/Kakadu/ppx_expect_nobase/releases/download/v0.17.3%2Bnobase-2/ppx_expect_nobase-0.17.3.nobase-2.tbz"
37+
checksum: [
38+
"sha256=c016bba93b193f81adbd9dcfc7457babf65431c014d9917600d9eb27985016bb"
39+
"sha512=0a069dd0957c4dba6e83b5b965da4d895d87b5e58bc7776ff8ba00f4d6b5f27f98161597ae9811282250ea4faa41fd7f857fb11ca7cdc8befc06e9e7e9d706c0"
40+
]
41+
}
42+
x-commit-hash: "46e8953c6495254cb6af8c4c038bd8b43887c35c"

0 commit comments

Comments
 (0)