Rename testdata log files for clarity
Renamed sample log input and expected output files in testdata to use a consistent 'log-*-input.txt' and 'log-*-want.txt' naming scheme. Updated references in log_test.go to match the new file names for improved clarity and maintainability.
This commit is contained in:
parent
f33ef4227a
commit
2c68168611
5 changed files with 4 additions and 4 deletions
|
|
@ -19,13 +19,13 @@ func TestFollow(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
name: "sample log 1",
|
||||
log: "testdata/sample-log-1.txt",
|
||||
want: "testdata/sample-log-1.want.txt",
|
||||
log: "testdata/log-1-input.txt",
|
||||
want: "testdata/log-1-want.txt",
|
||||
},
|
||||
{
|
||||
name: "sample log 2",
|
||||
log: "testdata/sample-log-2.txt",
|
||||
want: "testdata/sample-log-2.want.txt",
|
||||
log: "testdata/log-2-input.txt",
|
||||
want: "testdata/log-2-want.txt",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue