Skip to content

Commit

Permalink
Set time and format (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Jul 5, 2023
1 parent 7158816 commit 12c77af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ updates:
directory: "/"
schedule:
interval: "daily"
time: "00:00"
labels:
- "Bot"
- "Deps"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "00:00"
labels:
- "Bot"
- "GA"
4 changes: 2 additions & 2 deletions subcryptor/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const PUBLIC_KEY: &[u8] = &[
#[test]
fn ss58_address_of_should_work() {
assert_eq!(
ss58_address_of(PUBLIC_KEY, "Polkadot",).unwrap(),
ss58_address_of(PUBLIC_KEY, "Polkadot").unwrap(),
(0, "156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y".into())
);
}
#[test]
fn ss58_address_of_should_fail() {
assert_eq!(
ss58_address_of(&[], "invalid network",).unwrap_err().to_string(),
ss58_address_of(&[], "invalid network").unwrap_err().to_string(),
"[subcryptor] unsupported network, \"invalid network\""
);
}
Expand Down

0 comments on commit 12c77af

Please sign in to comment.