@@ -22,7 +22,10 @@ const CORPUS: &[(&str, &str)] = &[
2222 // 0 — simple valid select
2323 ( "simple_select" , "SELECT 1" ) ,
2424 // 1 — select from known table (requires schema)
25- ( "select_known" , "SELECT id, username FROM accounts WHERE id = 1" ) ,
25+ (
26+ "select_known" ,
27+ "SELECT id, username FROM accounts WHERE id = 1" ,
28+ ) ,
2629 // 2 — invalid syntax
2730 ( "invalid_syntax" , "NOT SQL AT ALL @@@ !!!" ) ,
2831 // 3 — type mismatch: integer vs string
@@ -45,7 +48,10 @@ const CORPUS: &[(&str, &str)] = &[
4548 "SELECT id FROM accounts WHERE id IN (SELECT account_id FROM transactions)" ,
4649 ) ,
4750 // 9 — aggregate
48- ( "aggregate" , "SELECT account_id, COUNT(*) FROM transactions GROUP BY account_id" ) ,
51+ (
52+ "aggregate" ,
53+ "SELECT account_id, COUNT(*) FROM transactions GROUP BY account_id" ,
54+ ) ,
4955] ;
5056
5157// ---------------------------------------------------------------------------
@@ -333,7 +339,7 @@ fn property_no_panic_on_full_corpus() {
333339 // We cannot move plugin/s into catch_unwind easily, so we just
334340 // verify the calls succeed outside of catch_unwind — if they
335341 // panic, the test fails.
336- drop ( label) ;
342+ let _ = label;
337343 } ) ;
338344 let _ = plugin. schema_check ( query, & s) ;
339345 let _ = plugin. type_check ( query, & s) ;
0 commit comments