mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
avoid using too recent a function in tests
This commit is contained in:
parent
dbf977edaa
commit
8e7d2bf77e
1 changed files with 2 additions and 1 deletions
|
|
@ -1106,8 +1106,9 @@ let to_buffer seq buf =
|
|||
|
||||
(*$R
|
||||
let b = Buffer.create 4 in
|
||||
let upp = function 'a'..'z' as c -> Char.chr (Char.code c - Char.code 'a' + Char.code 'A') | c -> c in
|
||||
"hello world"
|
||||
|> of_str |> rev |> map Char.uppercase_ascii
|
||||
|> of_str |> rev |> map upp
|
||||
|> (fun seq -> to_buffer seq b);
|
||||
OUnit.assert_equal "DLROW OLLEH" (Buffer.contents b);
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue