• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

punchagan / dune / 1
7%

Build:
DEFAULT BRANCH: main
Ran 07 May 2024 02:05PM UTC
Jobs 1
Files 534
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 May 2024 04:00PM UTC coverage: 6.911% (-0.1%) from 7.035%
1

push

github

web-flow
fix: handle trailing / in Path.External.drop_prefix (#10465)

* fix: handle trailing / in Path.drop_prefix

In a nutshell:

    # drop_prefix ~prefix:"/a/b/c/" "/a/b/c/d/e"
    Some "d/e"

This improves the test situation on nix (#8203) in the default devshell,
because the paths in `OCAMLPATH` can have trailing slashes.

More precisely, the `--sanitize-for-tests` options uses
`Path.External.drop_prefix` to replace elements of `OCAMLPATH` by the
`FINDLIB` string. If `OCAMLPATH` contains paths with trailing slashes,
these prefixes are not sanitized properly.

Signed-off-by: Etienne Millon <me@emillon.org>

* refactor: get rid of [Path.External.drop_prefix]

Just as easily replaced by [Path.drop_prefix]. None of its uses were
performance critical, so the reduced complexity is more important here.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Co-authored-by: Rudi Grinberg <me@rgrinberg.com>

0 of 2 new or added lines in 1 file covered. (0.0%)

14951 existing lines in 213 files now uncovered.

2909 of 42093 relevant lines covered (6.91%)

27061.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1.1 07 May 2024 02:05PM UTC 0
6.91
GitHub Action Run
Source Files on build 1
Detailed source file information is not available for this build.
  • Back to Repo
  • b076e9d8 on github
  • Prev Build on main (#47)
  • Next Build on main (#2)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc