mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ocaml: Fix bindtests when passing negative optional arguments.
This commit is contained in:
@@ -327,8 +327,8 @@ let () =
|
||||
List.map (
|
||||
function
|
||||
| CallOBool (n, v) -> "~" ^ n ^ ":" ^ string_of_bool v
|
||||
| CallOInt (n, v) -> "~" ^ n ^ ":" ^ string_of_int v
|
||||
| CallOInt64 (n, v) -> "~" ^ n ^ ":" ^ Int64.to_string v ^ "L"
|
||||
| CallOInt (n, v) -> "~" ^ n ^ ":(" ^ string_of_int v ^ ")"
|
||||
| CallOInt64 (n, v) -> "~" ^ n ^ ":(" ^ Int64.to_string v ^ "L)"
|
||||
| CallOString (n, v) -> "~" ^ n ^ ":\"" ^ v ^ "\""
|
||||
| CallOStringList (n, xs) ->
|
||||
"~" ^ n ^ ":" ^
|
||||
|
||||
Reference in New Issue
Block a user