tests: Check for missing return in builtin layouts except emoji

This commit is contained in:
Dorota Czaplejewicz
2020-09-28 19:24:37 +00:00
parent b77b3f7816
commit 8f526bd357
3 changed files with 52 additions and 8 deletions

View File

@ -5,6 +5,7 @@ use std::env;
fn main() -> () {
check_builtin_layout(
env::args().nth(1).expect("No argument given").as_str()
env::args().nth(1).expect("No argument given").as_str(),
env::args().nth(2).map(|s| s == "allow_missing_return").unwrap_or(false),
);
}