summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorDaniel Bünzli <daniel.buenzli@erratique.ch>2017-03-07 13:19:04 +0100
committerDamien Doligez <damien.doligez@inria.fr>2017-03-07 13:20:58 +0100
commit07e4594e6080a9faa0328b0eee31afb5684420d2 (patch)
treedefe23f0c89f96c4f768abce350eee22ef35b4c9 /testsuite/tests
parent64639cca16a8ad47a8f307ad614761382d69208a (diff)
downloadocaml-07e4594e6080a9faa0328b0eee31afb5684420d2.tar.gz
MPR#7500: remove Uchar.dump (#1081)
and make the Uchar independent from the Format and Printf modules. Previously this made it impossible to use the type in the natural habitat that the String, Bytes and Buffer modules could be.
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/lib-uchar/test.ml11
1 files changed, 0 insertions, 11 deletions
diff --git a/testsuite/tests/lib-uchar/test.ml b/testsuite/tests/lib-uchar/test.ml
index a2b7ec1dec..3895c54544 100644
--- a/testsuite/tests/lib-uchar/test.ml
+++ b/testsuite/tests/lib-uchar/test.ml
@@ -67,16 +67,6 @@ let test_compare () =
assert (Uchar.(compare max min) = 1);
()
-let test_dump () =
- let str u = Format.asprintf "%a" Uchar.dump u in
- assert (str Uchar.min = "U+0000");
- assert (str Uchar.(succ min) = "U+0001");
- assert (str Uchar.(of_int 0xFFFF) = "U+FFFF");
- assert (str Uchar.(succ (of_int 0xFFFF)) = "U+10000");
- assert (str Uchar.(pred max) = "U+10FFFE");
- assert (str Uchar.max = "U+10FFFF");
- ()
-
let tests () =
test_constants ();
test_succ ();
@@ -87,7 +77,6 @@ let tests () =
test_to_char ();
test_equal ();
test_compare ();
- test_dump ();
()
let () =