We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc1836 commit a3a369bCopy full SHA for a3a369b
push/push_test.go
@@ -144,7 +144,7 @@ func TestRegistry(t *testing.T) {
144
t.Run("NewRegistry", func(t *testing.T) {
145
registry := NewRegistry()
146
if registry == nil {
147
- t.Error("NewRegistry should not return nil")
+ t.Fatal("NewRegistry should not return nil")
148
}
149
150
if registry.handlers == nil {
@@ -407,7 +407,7 @@ func TestProcessor(t *testing.T) {
407
t.Run("NewProcessor", func(t *testing.T) {
408
processor := NewProcessor()
409
if processor == nil {
410
- t.Error("NewProcessor should not return nil")
+ t.Fatal("NewProcessor should not return nil")
411
412
413
if processor.registry == nil {
0 commit comments