diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-26 09:54:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-26 09:54:27 +0200 |
| commit | cb4c8f8055a7145463928b0d55e1f20e0dae0024 (patch) | |
| tree | 03c78131b3b0cdba7997bd9ad33789e59488c5c5 | |
| parent | 09bfecf655ed06ca1ed34e972781fd97775db840 (diff) | |
refactor: move integration tests to ./integrationtests folder
Integration tests that use the gt tool directly via exec.Command
have been moved from cmd/gt/cli_test.go to integrationtests/cli_test.go.
Unit tests in cmd/gt/main_test.go remain in place as they test
internal functions (runCommand) rather than the binary.
Package declaration changed from 'main' to 'integrationtests'.
| -rw-r--r-- | integrationtests/cli_test.go (renamed from cmd/gt/cli_test.go) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gt/cli_test.go b/integrationtests/cli_test.go index 46d9e82..8a0a076 100644 --- a/cmd/gt/cli_test.go +++ b/integrationtests/cli_test.go @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright (c) 2026 Paul Buetow -package main +package integrationtests import ( "os" |
