Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Oct 8, 2024
1 parent df582f0 commit 8ac0326
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions libwasmvm/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ mod tests {

use super::*;
use cosmwasm_vm::{CacheOptions, Config, Size};
use std::{
cmp::Ordering, collections::HashSet, iter::FromIterator, path::PathBuf, str::FromStr,
};
use std::{cmp::Ordering, collections::HashSet, iter::FromIterator, path::PathBuf};
use tempfile::TempDir;

static HACKATOM: &[u8] = include_bytes!("../../testdata/hackatom.wasm");
Expand Down Expand Up @@ -750,7 +748,7 @@ mod tests {

let mut error_msg = UnmanagedVector::default();
let config = Config::new(CacheOptions::new(
&dir,
dir,
capabilities,
Size::mebi(512),
Size::mebi(32),
Expand Down Expand Up @@ -943,7 +941,7 @@ mod tests {
// Init cache
let mut error_msg = UnmanagedVector::default();
let config = Config::new(CacheOptions::new(
&dir,
dir,
[capabilities],
Size::mebi(512),
Size::mebi(32),
Expand Down
1 change: 0 additions & 1 deletion types/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ func TestConfigJSON(t *testing.T) {
bz, err := json.Marshal(config)
require.NoError(t, err)
assert.Equal(t, expected, string(bz))

}

0 comments on commit 8ac0326

Please sign in to comment.