diff --git a/Makefile b/Makefile index 8625195..87faf74 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CARGO = CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse RUSTFLAGS="--cfg tokio_unstab all: build check-fmt check-clippy test .PHONY: test -test: update +test: # Test with default features ${CARGO} test --locked # Test with all features @@ -20,7 +20,7 @@ check-fmt: update: ${CARGO} update -.PHONY: check-clippy +.PHONY: check-clippy check-clippy: # Check with default features ${CARGO} clippy --workspace diff --git a/runner/src/scenario/ceramic/query.rs b/runner/src/scenario/ceramic/query.rs index 0bea293..8a01a93 100644 --- a/runner/src/scenario/ceramic/query.rs +++ b/runner/src/scenario/ceramic/query.rs @@ -104,7 +104,7 @@ async fn query_large_mid_verify_edges( ) .await?; - if resp.edges.first().is_none() { + if resp.edges.is_empty() { goose_try!(user, "query", &mut metrics, { Err(anyhow::anyhow!("no edges returned")) })?;