summaryrefslogtreecommitdiff
path: root/integrationtests/dmap_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-24 20:49:08 +0300
committerPaul Buetow <paul@buetow.org>2025-06-24 20:49:08 +0300
commitb7a3e95e44cfcc324e5a54d6ba30fc0d83993dde (patch)
tree3fff6932e21669ae14d77f3a92f72c2fac0379bc /integrationtests/dmap_test.go
parentf96256a46390283bc0cd129154ce71702f2c70a0 (diff)
Improve integration tests with colored output tests
- 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 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/dmap_test.go')
-rw-r--r--integrationtests/dmap_test.go1
1 files changed, 1 insertions, 0 deletions
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")