From 318b903d122b7628181f2ae277a882e2328b1d1d Mon Sep 17 00:00:00 2001 From: technofab Date: Sun, 14 Dec 2025 15:23:19 +0100 Subject: [PATCH] chore: rename module to uppercase --- cmd/nixtest/main.go | 16 ++++++++-------- go.mod | 2 +- internal/nix/service.go | 2 +- internal/nix/service_test.go | 2 +- internal/report/console/console.go | 4 ++-- internal/report/console/console_test.go | 2 +- internal/report/junit/junit.go | 4 ++-- internal/report/junit/junit_test.go | 2 +- internal/runner/runner.go | 8 ++++---- internal/runner/runner_test.go | 4 ++-- internal/snapshot/service.go | 4 ++-- internal/snapshot/service_test.go | 2 +- internal/util/util.go | 2 +- internal/util/util_test.go | 2 +- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/cmd/nixtest/main.go b/cmd/nixtest/main.go index fef12b1..5e71553 100644 --- a/cmd/nixtest/main.go +++ b/cmd/nixtest/main.go @@ -3,14 +3,14 @@ package main import ( "os" - "gitlab.com/technofab/nixtest/internal/config" - appnix "gitlab.com/technofab/nixtest/internal/nix" - "gitlab.com/technofab/nixtest/internal/report/console" - "gitlab.com/technofab/nixtest/internal/report/junit" - "gitlab.com/technofab/nixtest/internal/runner" - appsnap "gitlab.com/technofab/nixtest/internal/snapshot" - "gitlab.com/technofab/nixtest/internal/types" - "gitlab.com/technofab/nixtest/internal/util" + "gitlab.com/TECHNOFAB/nixtest/internal/config" + appnix "gitlab.com/TECHNOFAB/nixtest/internal/nix" + "gitlab.com/TECHNOFAB/nixtest/internal/report/console" + "gitlab.com/TECHNOFAB/nixtest/internal/report/junit" + "gitlab.com/TECHNOFAB/nixtest/internal/runner" + appsnap "gitlab.com/TECHNOFAB/nixtest/internal/snapshot" + "gitlab.com/TECHNOFAB/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/util" "github.com/rs/zerolog" "github.com/rs/zerolog/log" diff --git a/go.mod b/go.mod index bb9e578..b35c7f4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.com/technofab/nixtest +module gitlab.com/TECHNOFAB/nixtest go 1.23.0 diff --git a/internal/nix/service.go b/internal/nix/service.go index 40461f9..a3551d3 100644 --- a/internal/nix/service.go +++ b/internal/nix/service.go @@ -8,7 +8,7 @@ import ( "os/exec" "strings" - apperrors "gitlab.com/technofab/nixtest/internal/errors" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" ) // Service defines operations related to Nix diff --git a/internal/nix/service_test.go b/internal/nix/service_test.go index 0df0658..781a8cd 100644 --- a/internal/nix/service_test.go +++ b/internal/nix/service_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - apperrors "gitlab.com/technofab/nixtest/internal/errors" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" ) func TestHelperProcess(t *testing.T) { diff --git a/internal/report/console/console.go b/internal/report/console/console.go index 959741c..efca37f 100644 --- a/internal/report/console/console.go +++ b/internal/report/console/console.go @@ -11,8 +11,8 @@ import ( "github.com/jedib0t/go-pretty/v6/text" "github.com/rs/zerolog/log" "github.com/sergi/go-diff/diffmatchpatch" - "gitlab.com/technofab/nixtest/internal/types" - "gitlab.com/technofab/nixtest/internal/util" + "gitlab.com/TECHNOFAB/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/util" ) // PrintErrors prints error messages for failed tests diff --git a/internal/report/console/console_test.go b/internal/report/console/console_test.go index bbe9a6a..d562de4 100644 --- a/internal/report/console/console_test.go +++ b/internal/report/console/console_test.go @@ -12,7 +12,7 @@ import ( "time" "github.com/jedib0t/go-pretty/v6/text" - "gitlab.com/technofab/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/types" ) // captureOutput captures stdout and stderr during the execution of a function diff --git a/internal/report/junit/junit.go b/internal/report/junit/junit.go index a376600..be2fcb3 100644 --- a/internal/report/junit/junit.go +++ b/internal/report/junit/junit.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "gitlab.com/technofab/nixtest/internal/types" - "gitlab.com/technofab/nixtest/internal/util" + "gitlab.com/TECHNOFAB/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/util" ) type JUnitReport struct { diff --git a/internal/report/junit/junit_test.go b/internal/report/junit/junit_test.go index fbca0aa..afccbb5 100644 --- a/internal/report/junit/junit_test.go +++ b/internal/report/junit/junit_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "gitlab.com/technofab/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/types" ) func formatDurationSeconds(d time.Duration) string { diff --git a/internal/runner/runner.go b/internal/runner/runner.go index 99783e9..8ccb8df 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -9,10 +9,10 @@ import ( "time" "github.com/rs/zerolog/log" - "gitlab.com/technofab/nixtest/internal/nix" - "gitlab.com/technofab/nixtest/internal/snapshot" - "gitlab.com/technofab/nixtest/internal/types" - "gitlab.com/technofab/nixtest/internal/util" + "gitlab.com/TECHNOFAB/nixtest/internal/nix" + "gitlab.com/TECHNOFAB/nixtest/internal/snapshot" + "gitlab.com/TECHNOFAB/nixtest/internal/types" + "gitlab.com/TECHNOFAB/nixtest/internal/util" ) // Runner executes tests based on provided specifications and configuration diff --git a/internal/runner/runner_test.go b/internal/runner/runner_test.go index 2bbffa6..582c2c1 100644 --- a/internal/runner/runner_test.go +++ b/internal/runner/runner_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - apperrors "gitlab.com/technofab/nixtest/internal/errors" - "gitlab.com/technofab/nixtest/internal/types" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" + "gitlab.com/TECHNOFAB/nixtest/internal/types" ) // --- Mock Service Implementations --- diff --git a/internal/snapshot/service.go b/internal/snapshot/service.go index 932ece8..72f8802 100644 --- a/internal/snapshot/service.go +++ b/internal/snapshot/service.go @@ -7,8 +7,8 @@ import ( "path/filepath" "strings" - apperrors "gitlab.com/technofab/nixtest/internal/errors" - "gitlab.com/technofab/nixtest/internal/util" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" + "gitlab.com/TECHNOFAB/nixtest/internal/util" ) // Service defines operations related to test snapshots diff --git a/internal/snapshot/service_test.go b/internal/snapshot/service_test.go index 9a1f4bb..b82b070 100644 --- a/internal/snapshot/service_test.go +++ b/internal/snapshot/service_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - apperrors "gitlab.com/technofab/nixtest/internal/errors" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" ) func TestDefaultService_GetPath(t *testing.T) { diff --git a/internal/util/util.go b/internal/util/util.go index 63e7252..9916a75 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -8,7 +8,7 @@ import ( "github.com/akedrou/textdiff" "github.com/akedrou/textdiff/myers" - apperrors "gitlab.com/technofab/nixtest/internal/errors" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" ) func ComputeDiff(expected, actual string) (string, error) { diff --git a/internal/util/util_test.go b/internal/util/util_test.go index 0928c06..fa76a20 100644 --- a/internal/util/util_test.go +++ b/internal/util/util_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - apperrors "gitlab.com/technofab/nixtest/internal/errors" + apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors" ) func TestComputeDiff(t *testing.T) {