Skip to content

Commit

Permalink
Fix clippy error on wasmtest (apache#12844)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgao authored Oct 10, 2024
1 parent 58c7085 commit 8945e7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion datafusion/wasmtest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.40"

[dev-dependencies]
wasm-bindgen-test = "0.3"
tokio = { workspace = true }
wasm-bindgen-test = "0.3.44"
5 changes: 3 additions & 2 deletions datafusion/wasmtest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ mod test {

wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);

#[wasm_bindgen_test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
fn datafusion_test() {
basic_exprs();
basic_parse();
}

#[wasm_bindgen_test]
#[wasm_bindgen_test(unsupported = tokio::test)]
async fn basic_execute() {
let sql = "SELECT 2 + 2;";

Expand Down

0 comments on commit 8945e7a

Please sign in to comment.