Skip to content

Commit b6f651d

Browse files
Varun Deep Sainiclaude
andcommitted
Fix empty-wal test regex for cross-platform ls -l output
The regex pattern for matching `ls -l` output needed to use \s+ instead of single spaces to handle different whitespace in date formatting across platforms (e.g., "Feb 2" vs "Feb 12"). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3982e4a commit b6f651d

File tree

1 file changed

+1
-1
lines changed
  • acceptance/bundle/deploy/wal/empty-wal

1 file changed

+1
-1
lines changed

acceptance/bundle/deploy/wal/empty-wal/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Pattern = "GET /api/2.2/jobs/get"
99
Response.Body = '{"job_id": 1001, "settings": {"name": "test-job"}}'
1010

1111
[[Repls]]
12-
Old = '-rw[^ ]+ \d+ [^ ]+ [^ ]+ \d+ [A-Z][a-z]+ \d+ \d+:\d+'
12+
Old = '-rw[^\s]+\s+\d+\s+[^\s]+\s+[^\s]+\s+\d+\s+[A-Z][a-z]+\s+\d+\s+\d+:\d+'
1313
New = '[FILE_INFO]'

0 commit comments

Comments
 (0)