test: Add an assertion to the #16745 testcase

This commit is contained in:
Richo Healey 2015-04-19 00:25:13 -07:00
parent 57fdeecd91
commit 4cf9e2db5e

View file

@ -10,10 +10,11 @@
fn main() { fn main() {
const X: u8 = 0; const X: u8 = 0;
match 0u8 { let out: u8 = match 0u8 {
X => { }, X => 99,
b'\t' => { }, b'\t' => 1,
1u8 => { }, 1u8 => 2,
_ => { }, _ => 3,
} };
assert_eq!(out, 99);
} }