-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from kit-ty-kate/ocaml-5.2
Fix the tests with OCaml 5.2
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,25 +36,25 @@ let split_on input v expect = | |
Alcotest.(check (result (option (pair str str)) errored)) "expect" res (Ok expect) | ||
|
||
let complex_0 = | ||
{|To:A Group(Some people) | ||
:Chris Jones <c@(Chris's host.)public.example>, | ||
joe@example.org, | ||
John <jdoe@one.test> (my dear friend); (the end of the group) | ||
{|To:A Group(Some people)|}^"\r"^{| | ||
:Chris Jones <c@(Chris's host.)public.example>,|}^"\r"^{| | ||
joe@example.org,|}^"\r"^{| | ||
John <jdoe@one.test> (my dear friend); (the end of the group)|}^"\r"^{| | ||
|}, "To:A Group :Chris Jones <[email protected]>, [email protected], John <[email protected]> ; " | ||
|
||
let complex_1 = | ||
{|To : Mary Smith | ||
|
||
<mary@example.net> | ||
{|To : Mary Smith|}^"\r"^{| | ||
|}^"\r"^{| | ||
<mary@example.net>|}^"\r"^{| | ||
|}, "To : Mary Smith <[email protected]>" | ||
|
||
let complex_2 = | ||
{|Date: Thu, | ||
13 | ||
Feb | ||
1969 | ||
23:32 | ||
-0330 (Newfoundland Time) | ||
{|Date: Thu,|}^"\r"^{| | ||
13|}^"\r"^{| | ||
Feb|}^"\r"^{| | ||
1969|}^"\r"^{| | ||
23:32|}^"\r"^{| | ||
-0330 (Newfoundland Time)|}^"\r"^{| | ||
|}, "Date: Thu, 13 Feb 1969 23:32 -0330 " | ||
|
||
let complex (input, expect) = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters