about summary refs log tree commit diff
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 00000000000..c28ea859115
--- /dev/null
+++ b/library/core/tests/unicode.rs
@@ -0,0 +1,5 @@
+#[test]
+pub fn version() {
+    let (major, _minor, _update) = core::unicode::UNICODE_VERSION;
+    assert!(major >= 10);
+}