Skip to content

Commit b4e165f

Browse files
committed
fix: linter
1 parent 0ded7cf commit b4e165f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

godump_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ func TestFindFirstNonInternalFrame_FallbackBranch(t *testing.T) {
680680
}
681681

682682
file, line := testDumper.findFirstNonInternalFrame(0)
683-
assert.Equal(t, "", file)
683+
assert.Empty(t, file)
684684
assert.Equal(t, 0, line)
685685
}
686686

@@ -701,7 +701,7 @@ func TestPrintDumpHeader_SkipWhenNoFrame(t *testing.T) {
701701

702702
var b strings.Builder
703703
testDumper.printDumpHeader(&b)
704-
assert.Equal(t, "", b.String()) // nothing should be written
704+
assert.Empty(t, b.String())
705705
}
706706

707707
type customChan chan int

0 commit comments

Comments
 (0)