From 7d73be46429555247bfa955d6ccb64e0af067910 Mon Sep 17 00:00:00 2001 From: softprops Date: Mon, 26 Aug 2019 00:43:16 -0400 Subject: [PATCH] better test data --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3d25d82..fc8ecb8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -187,7 +187,7 @@ mod tests { for (env, expect) in vec![( vec![ ("GITHUB_TOKEN".into(), "123".into()), - ("GITHUB_REF".into(), "refs/tags/ref".into()), + ("GITHUB_REF".into(), "refs/tags/v1.0.0".into()), ("GITHUB_REPOSITORY".into(), "foo/bar".into()), ("INPUT_NAME".into(), "test release".into()), ("INPUT_BODY".into(), ":)".into()), @@ -196,7 +196,7 @@ mod tests { ], Config { github_token: "123".into(), - github_ref: "refs/tags/ref".into(), + github_ref: "refs/tags/v1.0.0".into(), github_repository: "foo/bar".into(), input_name: Some("test release".into()), input_body: Some(":)".into()),