summaryrefslogtreecommitdiff
path: root/testsuite/tests/basic-more/testrandom.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/basic-more/testrandom.ml')
-rw-r--r--testsuite/tests/basic-more/testrandom.ml7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/basic-more/testrandom.ml b/testsuite/tests/basic-more/testrandom.ml
index 150d408898..af0e3a2f41 100644
--- a/testsuite/tests/basic-more/testrandom.ml
+++ b/testsuite/tests/basic-more/testrandom.ml
@@ -1,13 +1,12 @@
open Random
-let _ =
+let _ =
for i = 0 to 20 do
- print_float (float 1000.); print_char ' '
+ print_int (int 1000); print_char ' '
done;
print_newline (); print_newline ();
for i = 0 to 20 do
- print_int (int 1000); print_char ' '
+ print_float (float 1000.); print_char ' '
done
let _ = exit 0
-