Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
Signed-off-by: tabokie <xy.tao@outlook.com>
  • Loading branch information
tabokie committed Jun 13, 2022
1 parent 355b252 commit 1ddb4da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/tikv_alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mod runner {
let v = &name[idx + 7..];
if !v.is_empty()
&& !v.chars().any(|c| c.is_ascii_lowercase())
&& !std::env::var(v).is_ok()
&& std::env::var(v).is_err()
{
desc.ignore = true;
// TODO: uncomment this on a toolchain > 2022-02-25
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-all
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
# Re-run tests that requires specific environment variables.
if [[ "$(uname)" == "Linux" ]]; then
export MALLOC_CONF=prof:true
./scripts/test "$@" -- where_MALLOC_CONF --nocapture
./scripts/test where_MALLOC_CONF "$@" -- --nocapture
fi

if [[ "$(uname)" = "Linux" ]]; then
Expand Down

0 comments on commit 1ddb4da

Please sign in to comment.