summaryrefslogtreecommitdiffstats
path: root/library/core/tests/unicode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/unicode.rs')
-rw-r--r--library/core/tests/unicode.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/core/tests/unicode.rs b/library/core/tests/unicode.rs
new file mode 100644
index 000000000..bbace0ef6
--- /dev/null
+++ b/library/core/tests/unicode.rs
@@ -0,0 +1,5 @@
+#[test]
+pub fn version() {
+ let (major, _minor, _update) = core::char::UNICODE_VERSION;
+ assert!(major >= 10);
+}