mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-06 08:43:39 +00:00
Bump rust from 1.54-buster to 1.60.0-buster (#173)
* Bump rust from 1.54-buster to 1.60.0-buster Bumps rust from 1.54-buster to 1.60.0-buster. --- updated-dependencies: - dependency-name: rust dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fmt * Remove examples * Fix config test Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Gallant <davegallant@gmail.com>
This commit is contained in:
@@ -21,14 +21,14 @@ mod tests {
|
||||
#[serial]
|
||||
fn load_config_with_missing_sendgrid_api_key() {
|
||||
std::env::remove_var("SENDGRID_API_KEY");
|
||||
let file = "./examples/config.yaml";
|
||||
let file = "./examples/config.yml";
|
||||
load(file);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn load_config() {
|
||||
let file = "./examples/config.yaml";
|
||||
let file = "./examples/config.yml";
|
||||
std::env::set_var("SENDGRID_API_KEY", "FAKE");
|
||||
std::env::set_var("SENDGRID_MAIL_FROM", "notify@rfd-notify.org");
|
||||
std::env::set_var("SENDGRID_MAIL_TO", "test@email.com");
|
||||
|
@@ -21,7 +21,7 @@ fn main() {
|
||||
.about("Send emails based on regular expressions")
|
||||
.args(&[
|
||||
Arg::with_name("config")
|
||||
.default_value("./config.yml")
|
||||
.default_value("./config.yml")
|
||||
.required(true)
|
||||
.takes_value(true)
|
||||
.short("c")
|
||||
|
Reference in New Issue
Block a user