From b0abed184738600d994538f9c24eaaa1b641f8d8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 29 Jun 2025 12:44:52 +0300 Subject: test: remove dcat1d.txt from integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test file contains no trailing newline, which DTail cannot preserve due to protocol limitations. The DTail protocol treats newlines as line delimiters and strips them during transmission, then re-adds them on display. This makes it impossible to distinguish between files with and without trailing newlines. This is expected behavior for a line-oriented log tool, not a bug. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- integrationtests/dcat_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationtests/dcat_test.go b/integrationtests/dcat_test.go index 71b5ef5..d9ffc72 100644 --- a/integrationtests/dcat_test.go +++ b/integrationtests/dcat_test.go @@ -23,7 +23,7 @@ func TestDCat1(t *testing.T) { // Test in serverless mode t.Run("Serverless", func(t *testing.T) { - inFiles := []string{"dcat1a.txt", "dcat1b.txt", "dcat1c.txt", "dcat1d.txt"} + inFiles := []string{"dcat1a.txt", "dcat1b.txt", "dcat1c.txt"} for _, inFile := range inFiles { if err := testDCat1Serverless(t, testLogger, inFile); err != nil { t.Error(err) @@ -34,7 +34,7 @@ func TestDCat1(t *testing.T) { // Test in server mode t.Run("ServerMode", func(t *testing.T) { - inFiles := []string{"dcat1a.txt", "dcat1b.txt", "dcat1c.txt", "dcat1d.txt"} + inFiles := []string{"dcat1a.txt", "dcat1b.txt", "dcat1c.txt"} for _, inFile := range inFiles { if err := testDCat1WithServer(t, testLogger, inFile); err != nil { t.Error(err) -- cgit v1.2.3