File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,6 @@ func TestNewDigester(t *testing.T) {
84
84
})
85
85
}
86
86
87
- t .Run ("handles multiple WithIndex options, applying last one" , func (t * testing.T ) {
88
- g := NewWithT (t )
89
- firstIndex := map [string ]string {"a" : "b" }
90
- secondIndex := map [string ]string {"c" : "d" }
91
- d := NewDigester (WithIndex (firstIndex ), WithIndex (secondIndex ))
92
- g .Expect (d .index ).To (Equal (secondIndex ))
93
- })
94
- }
95
-
96
87
func TestDigester_Add (t * testing.T ) {
97
88
t .Run ("adds" , func (t * testing.T ) {
98
89
g := NewWithT (t )
@@ -169,8 +160,8 @@ func TestDigester_Delete(t *testing.T) {
169
160
g := NewWithT (t )
170
161
d := NewDigester ()
171
162
d .Delete ("non-existent" )
172
- g .Expect (d .index ).To (BeEmpty ()) // Index should remain empty
173
- g .Expect (d .digests ).To (BeEmpty ()) // Digests should remain empty as no change
163
+ g .Expect (d .index ).To (BeEmpty ())
164
+ g .Expect (d .digests ).To (BeEmpty ())
174
165
})
175
166
}
176
167
You can’t perform that action at this time.
0 commit comments