Skip to content

Commit 140ba61

Browse files
committed
add test suit
1 parent 35b0f24 commit 140ba61

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/ui/unicode.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,16 @@ fn uni() {
2020
print!("\u{DC}ben!"); // this is ok
2121
}
2222

23+
// issue 8013
24+
#[warn(clippy::non_ascii_literal)]
25+
fn single_quote() {
26+
const _EMPTY_BLOCK: char = '▱';
27+
const _FULL_BLOCK: char = '▰';
28+
}
29+
2330
fn main() {
2431
zero();
2532
uni();
2633
canon();
34+
single_quote();
2735
}

0 commit comments

Comments
 (0)