mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-17 03:02:28 +08:00
fix: rename Seek to SeekOffset fix go vet check issue
This commit is contained in:
@@ -534,7 +534,7 @@ func TestReadlineFile(t *testing.T) {
|
||||
if !ok {
|
||||
t.Fail()
|
||||
}
|
||||
if err = reader.Seek(offset); err != nil {
|
||||
if err = reader.SeekOffset(offset); err != nil {
|
||||
t.Fail()
|
||||
}
|
||||
lineRead, err := reader.ReadLine()
|
||||
|
||||
Reference in New Issue
Block a user