From be554c4101df2a9ac65d40962ee37ece85d517bf Mon Sep 17 00:00:00 2001 From: Christiaan Dirkx Date: Sun, 22 Nov 2020 09:08:04 +0100 Subject: Make ui test that are run-pass and do not test the compiler itself library tests --- library/core/tests/unicode.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 library/core/tests/unicode.rs (limited to 'library/core/tests/unicode.rs') 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); +} -- cgit 1.4.1-3-g733a5