File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -217,9 +217,9 @@ func WithEventHandler(eventHandler func(event *Event)) Option {
217
217
}
218
218
}
219
219
220
- func WithSeparatorDisable ( separatorDisable bool ) Option {
220
+ func WithSeparatorDisabled ( separatorDisabled bool ) Option {
221
221
return func (o * Options ) {
222
- o .separatorDisabled = separatorDisable
222
+ o .separatorDisabled = separatorDisabled
223
223
}
224
224
}
225
225
Original file line number Diff line number Diff line change @@ -116,12 +116,12 @@ func TestCacheOptions(t *testing.T) {
116
116
})
117
117
118
118
t .Run ("with disable default separator" , func (t * testing.T ) {
119
- o := newOptions (WithSeparatorDisable (true ))
119
+ o := newOptions (WithSeparatorDisabled (true ))
120
120
assert .Equal (t , "" , o .separator )
121
121
})
122
122
123
123
t .Run ("with disable customized separator" , func (t * testing.T ) {
124
- o := newOptions (WithSeparatorDisable (true ), WithSeparator (":" ))
124
+ o := newOptions (WithSeparatorDisabled (true ), WithSeparator (":" ))
125
125
assert .Equal (t , "" , o .separator )
126
126
})
127
127
}
You can’t perform that action at this time.
0 commit comments