Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
bump 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
keroro520 committed Feb 7, 2022
1 parent 38527b5 commit b50b20c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ckb-analyzer"
version = "0.1.4"
version = "0.1.5"
license = "MIT"
authors = ["keroro <[email protected]>"]
edition = "2018"
Expand Down
3 changes: 1 addition & 2 deletions src/util/ipinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ pub fn lookup_ipinfo(ip: &str) -> Result<IpDetails, IpError> {
}

pub mod test {
use crate::util::ipinfo::{lookup_ipinfo, IPINFO_CACHE};

#[test]
#[ignore] // This case needs env var "IPINFO_IO_TOKEN"
fn test_lookup_ipinfo_cache() {
use crate::util::ipinfo::{lookup_ipinfo, IPINFO_CACHE};
{
let cache = IPINFO_CACHE.lock().unwrap();
assert!(cache.get("8.8.8.8").is_none());
Expand Down

0 comments on commit b50b20c

Please sign in to comment.