Skip to content

Commit

Permalink
Improve doc-comments (cf. PR #42)
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet committed Feb 3, 2017
1 parent 195fe5b commit 60f8d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/EDSL.mli
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ val with_redirections:
- then, ["printf"] outputs to [1].
Invalid cases, like redirecting to a file-descriptor has not been
openned, lead to undefined behavior; see
opened, lead to undefined behavior; see
{{:https://github.com/hammerlab/genspio/issues/41}issue #41}.
If the shell is POSIX, the whole expression [with_redirections expr redirs]
exits and its return value is in [[1, 125]]; if the shell is
Expand Down
2 changes: 1 addition & 1 deletion src/test/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ let tests =
write_output
~return_value:tmp2#path (
with_redirections (exec ["printf"; "%s"; recognizable]) [
to_fd (int 4) (int 3);
to_fd (int 4) (int 3); (* This fails because &3 is not open! *)
to_file (int 1) tmp1#path;
]
);
Expand Down

0 comments on commit 60f8d05

Please sign in to comment.