Skip to content

Commit

Permalink
fix: happy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Nov 20, 2024
1 parent a8f686a commit 46e2b35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/operator/src/expr_factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -815,10 +815,10 @@ mod tests {
};

assert_eq!(2, set_database_options.len());
assert_eq!("key1", set_database_options.get(0).unwrap().key);
assert_eq!("value1", set_database_options.get(0).unwrap().value);
assert_eq!("key2", set_database_options.get(1).unwrap().key);
assert_eq!("value2", set_database_options.get(1).unwrap().value);
assert_eq!("key1", set_database_options[0].key);
assert_eq!("value1", set_database_options[0].value);
assert_eq!("key2", set_database_options[1].key);
assert_eq!("value2", set_database_options[1].value);

let sql = "ALTER DATABASE greptime UNSET key1, key2;";
let stmt =
Expand Down

0 comments on commit 46e2b35

Please sign in to comment.