Skip to content

Commit

Permalink
fix: address flaky marketo test (#5246)
Browse files Browse the repository at this point in the history
  • Loading branch information
utsabc authored Oct 29, 2024
1 parent 4fbb837 commit 6abcedd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ func TestCreateCSVFile(t *testing.T) {
// Check header
if scanner.Scan() {
headerLine := scanner.Text()
expectedHeader := strings.Join(tt.wantHeaders, ",")
if headerLine != expectedHeader {
t.Errorf("createCSVFile() header = %v, want %v", headerLine, expectedHeader)
generatedHeaders := strings.Join(gotHeaders, ",")
if headerLine != generatedHeaders {
t.Errorf("createCSVFile() header from file and generated = %v, want %v", headerLine, generatedHeaders)
}
}

Expand Down

0 comments on commit 6abcedd

Please sign in to comment.