This commit is contained in:
parent
b17fcb8c41
commit
12f756fe1a
4 changed files with 23 additions and 0 deletions
|
@ -20,9 +20,11 @@ members = [
|
|||
"members/claptest",
|
||||
"members/rest",
|
||||
"members/rest-queued",
|
||||
"members/fluent",
|
||||
]
|
||||
default-members = [
|
||||
".",
|
||||
"members/fluent",
|
||||
"members/echargs",
|
||||
"members/revsqrt",
|
||||
"members/claptest",
|
||||
|
|
8
members/fluent/Cargo.toml
Normal file
8
members/fluent/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "fluent"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
3
members/fluent/src/main.rs
Normal file
3
members/fluent/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
|
@ -126,3 +126,13 @@ impl FromStr for Token {
|
|||
Ok(Self { inner: s })
|
||||
}
|
||||
}
|
||||
|
||||
mod test {
|
||||
use super::*;
|
||||
#[test]
|
||||
fn test_new_dbg() {
|
||||
let c = Client::new_debug();
|
||||
assert_eq!(c.token.to_string(), "mytok");
|
||||
assert_eq!(c.id.to_string(), "myid");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue