From b7a3e95e44cfcc324e5a54d6ba30fc0d83993dde Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 24 Jun 2025 20:49:08 +0300 Subject: Improve integration tests with colored output tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed commented server mode code from TestDGrepStdin (stdin doesn't make sense with server mode) - Added TestDCat1Colors to test colored output in both serverless and server modes - Added TestDGrep1Colors to test colored output in both serverless and server modes - Fixed server metadata detection in colored output tests (look for "REMOTE" or "SERVER" without pipe) - Note: DMap colored output test was attempted but removed as DMap writes to CSV files, not stdout All integration tests now pass successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- integrationtests/dmap_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'integrationtests/dmap_test.go') diff --git a/integrationtests/dmap_test.go b/integrationtests/dmap_test.go index ca1fddf..0db7982 100644 --- a/integrationtests/dmap_test.go +++ b/integrationtests/dmap_test.go @@ -192,6 +192,7 @@ func testDmap1WithServer(t *testing.T, query, subtestName string, usePipe bool) return nil } + func TestDMap2(t *testing.T) { if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") -- cgit v1.2.3