From eba703fd44f9fc6758a74d7c496caa39ae3a7804 Mon Sep 17 00:00:00 2001 From: netanel133 Date: Fri, 14 Jul 2023 01:48:17 +0300 Subject: [PATCH] Fixing the tests functions locations dirs --- src/internal/slack_notifier/slack_test.go | 4 ++-- src/internal/telegram_notifier/telegram_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/internal/slack_notifier/slack_test.go b/src/internal/slack_notifier/slack_test.go index c3a2e63..3cba89f 100644 --- a/src/internal/slack_notifier/slack_test.go +++ b/src/internal/slack_notifier/slack_test.go @@ -4,14 +4,14 @@ import ( "testing" ) -func TestTelegramNotify(t *testing.T) { +func TestSlackNotify(t *testing.T) { Notify("google", "go-github", "https://github.com/google/go-github/releases/tag/v48.1.0", "v48.0.0", "v48.1.0", "minor", "release", false) } -func TestTelegramNotifyWithRelease(t *testing.T) { +func TestSlackNotifyWithRelease(t *testing.T) { Notify("google", "go-github", "https://github.com/google/go-github/releases/tag/v48.1.0", diff --git a/src/internal/telegram_notifier/telegram_test.go b/src/internal/telegram_notifier/telegram_test.go index d05b199..e92755f 100644 --- a/src/internal/telegram_notifier/telegram_test.go +++ b/src/internal/telegram_notifier/telegram_test.go @@ -4,16 +4,16 @@ import ( "testing" ) -func TestSlackNotify(t *testing.T) { +func TestTelegramNotify(t *testing.T) { Notify("google", "go-github", "https://github.com/google/go-github/releases/tag/v48.1.0", - "v48.0.0", "v48.1.0", "minor", false) + "v48.0.0", "v48.1.0", "minor", "release", false) } -func TestSlackNotifyWithRelease(t *testing.T) { +func TestTelegramNotifyWithRelease(t *testing.T) { Notify("google", "go-github", "https://github.com/google/go-github/releases/tag/v48.1.0", - "v48.0.0", "v48.1.0", "minor", true) + "v48.0.0", "v48.1.0", "minor", "release", true) }