mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 06:54:07 +00:00
Fix clippy lint on rust 1.86 (#1796)
This commit is contained in:
parent
7efa686d78
commit
a847e44105
5 changed files with 21 additions and 23 deletions
|
@ -14091,8 +14091,7 @@ fn test_table_sample() {
|
|||
|
||||
#[test]
|
||||
fn overflow() {
|
||||
let expr = std::iter::repeat("1")
|
||||
.take(1000)
|
||||
let expr = std::iter::repeat_n("1", 1000)
|
||||
.collect::<Vec<_>>()
|
||||
.join(" + ");
|
||||
let sql = format!("SELECT {}", expr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue