We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9c27f commit ee8dcf3Copy full SHA for ee8dcf3
examples/unix/solution.ml
@@ -0,0 +1 @@
1
+let getenv = Unix.environment
examples/unix/tests.ml
@@ -0,0 +1,9 @@
+open OUnit
2
+open Batteries
3
+
4
+let suite = [
5
+ "getenv" >:::
6
+ [
7
+ "Test" >:: (fun _ -> assert_equal [||] (Solution.getenv ()) ~printer:(IO.to_string @@ Array.print String.print_quoted));
8
+ ];
9
+ ]
0 commit comments