fix formatting
This commit is contained in:
parent
15f4a4c5a3
commit
0ed6e35303
|
@ -11,9 +11,7 @@ use std::string::ToString;
|
|||
|
||||
use super::{
|
||||
error::{Error, Result},
|
||||
CURVE_ED25519,
|
||||
OwnedIdentity,
|
||||
JsonSSBSecret,
|
||||
JsonSSBSecret, OwnedIdentity, CURVE_ED25519,
|
||||
};
|
||||
use crate::crypto::{ToSodiumObject, ToSsbId};
|
||||
|
||||
|
@ -66,8 +64,8 @@ pub async fn write_gosbot_config<W: Write + Unpin>(
|
|||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use async_std::io::Cursor;
|
||||
use super::*;
|
||||
use async_std::io::Cursor;
|
||||
|
||||
// ssb secret file contents, as formatted by go-sbot
|
||||
const SECRET: &str = r#"{"curve":"ed25519","id":"@1vxS6DMi7z9uJIQG33W7mlsv21GZIbOpmWE1QEcn9oY=.ed25519","private":"F9bw6dPLaHR89hg6Q2dRmoNHHjm+COI53L0kdV3Y4w3W/FLoMyLvP24khAbfdbuaWy/bUZkhs6mZYTVARyf2hg==.ed25519","public":"1vxS6DMi7z9uJIQG33W7mlsv21GZIbOpmWE1QEcn9oY=.ed25519"}"#;
|
||||
|
|
Loading…
Reference in New Issue