update readme

This commit is contained in:
2019-12-29 22:23:03 +08:00
parent 2c9e3796a7
commit b6588af80f
2 changed files with 14 additions and 6 deletions

View File

@@ -139,12 +139,6 @@ impl <'a> DingTalkMessage<'a> {
}
}
#[test]
fn my_simple_test() {
let dt = DingTalk::from_file("~/.dingtalk-token.json").unwrap();
dt.send_text("test").ok();
}
impl <'a> DingTalk<'a> {
/// Create `DingTalk` from file