Skip to content
Snippets Groups Projects
Commit 22d40435 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by GitHub
Browse files

Lower the required code threshold. (#2685)

parent fa08a1e3
No related merge requests found
...@@ -34,7 +34,7 @@ fn should_return_storage() { ...@@ -34,7 +34,7 @@ fn should_return_storage() {
assert!( assert!(
client.storage(key.clone(), Some(genesis_hash).into()) client.storage(key.clone(), Some(genesis_hash).into())
.map(|x| x.map(|x| x.0.len())).unwrap().unwrap() .map(|x| x.map(|x| x.0.len())).unwrap().unwrap()
> 195_000 > 10_000
); );
assert_matches!( assert_matches!(
client.storage_hash(key.clone(), Some(genesis_hash).into()).map(|x| x.is_some()), client.storage_hash(key.clone(), Some(genesis_hash).into()).map(|x| x.is_some()),
...@@ -42,7 +42,7 @@ fn should_return_storage() { ...@@ -42,7 +42,7 @@ fn should_return_storage() {
); );
assert!( assert!(
client.storage_size(key.clone(), None).unwrap().unwrap() client.storage_size(key.clone(), None).unwrap().unwrap()
> 195_000 > 10_000
); );
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment