mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
parent
35a6e7bde5
commit
5dfa8d56dc
40 changed files with 169 additions and 137 deletions
|
@ -68,7 +68,7 @@ fn generate_test(fn_name: &str, doc: &str, extra_args: usize) -> String {
|
|||
let mut diag = Default::default();
|
||||
let mut p = DefaultParser::new("{line}", &mut diag);
|
||||
{fn_name}(&mut p{follow_args});
|
||||
let has_error = p.diags.has_error();
|
||||
let has_error = p.diags.has_errors();
|
||||
//#[cfg(feature = "display-diagnostics")]
|
||||
//p.diags.print();
|
||||
assert!(!has_error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue