Skip to content

Commit

Permalink
Update test results
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Jan 15, 2025
1 parent 70f0939 commit cd7b18b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/sources/lookup_def.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Compile the modules:

$ odoc link -I . src-a.odoc
odoc: FILE.odoc argument: no 'src-a.odoc' file or directory
Usage: odoc link [--open=MODULE] [OPTION]… FILE.odoc
Usage: odoc link [--custom-layout] [--open=MODULE] [OPTION]… FILE.odoc
Try 'odoc link --help' or 'odoc --help' for more information.
[2]
$ odoc link -I . a.odoc
Expand Down
10 changes: 2 additions & 8 deletions test/xref2/warnings.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,16 @@ A contains both parsing errors and a reference to B that isn't compiled yet:
A contains linking errors:
$ odoc link a.odoc --enable-missing-root-warning
File "a.odoc":
Warning: Couldn't find the following modules:
B
File "a.mli", line 6, characters 47-65:
Warning: Failed to resolve reference unresolvedroot(B).doesn't_exist Couldn't find "B"
Warning: Failed to resolve reference unresolvedroot(B).doesn't_exist Couldn't find "doesn't_exist"
$ odoc errors a.odocl
File "a.mli", line 8, characters 20-23:
Open bracket '{!' is never closed.
File "a.mli", line 8, characters 22-23:
Identifier in reference should not be empty.
File "a.odoc":
Couldn't find the following modules:
B
File "a.mli", line 6, characters 47-65:
Failed to resolve reference unresolvedroot(B).doesn't_exist Couldn't find "B"
Failed to resolve reference unresolvedroot(B).doesn't_exist Couldn't find "doesn't_exist"
It is possible to hide the warnings too:
Expand Down

0 comments on commit cd7b18b

Please sign in to comment.