tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
parent
ca9faa52f5
commit
9be35f82c1
3226 changed files with 64 additions and 196 deletions
12
src/test/ui/char_unicode.rs
Normal file
12
src/test/ui/char_unicode.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// run-pass
|
||||
|
||||
#![feature(unicode_version)]
|
||||
|
||||
/// Tests access to the internal Unicode Version type and value.
|
||||
pub fn main() {
|
||||
check(std::char::UNICODE_VERSION);
|
||||
}
|
||||
|
||||
pub fn check(unicode_version: std::char::UnicodeVersion) {
|
||||
assert!(unicode_version.major >= 10);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue