diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-29 12:44:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-29 12:44:52 +0300 |
| commit | b0abed184738600d994538f9c24eaaa1b641f8d8 (patch) | |
| tree | d7f2fd562cec56fcb29017f91e6e09d50010f4d4 | |
| parent | aa7e7afebf2bb65fb5a86183bd1f7190d6502b4d (diff) | |
test: remove dcat1d.txt from integration tests
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 <noreply@anthropic.com>
| -rw-r--r-- | integrationtests/dcat_test.go | 4 |
1 files 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) |
