Skip to content

Commit c0b2d83

Browse files
committed
lint
1 parent 2dd99ef commit c0b2d83

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

liquid/drop_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ func TestTablerowloopDropInvokeDrop(t *testing.T) {
388388
}
389389
}
390390

391-
392391
// TestDropInvokeDropOldWithMethod tests InvokeDropOld with method calls
393392
func TestDropInvokeDropOldWithMethod(t *testing.T) {
394393
fl := NewForloopDrop("items", 5, nil)

liquid/errors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func TestLiquidErrorInterface(t *testing.T) {
150150
t.Run(fmt.Sprintf("%T", le), func(t *testing.T) {
151151
baseErr := le.GetError()
152152
if baseErr == nil {
153-
t.Errorf("%T: GetError() returned nil", le)
153+
t.Fatalf("%T: GetError() returned nil", le)
154154
}
155155
if baseErr.Message != "test" {
156156
t.Errorf("%T: expected message 'test', got '%s'", le, baseErr.Message)

0 commit comments

Comments
 (0)