Prevent linter from reporting a deprecation warning in a test
This commit is contained in:
@@ -68,6 +68,7 @@ func TestSwappableMuxSetSetsTheGivenMux(t *testing.T) {
|
||||
|
||||
sm.set(mux)
|
||||
|
||||
//nolint
|
||||
if !sm.root.KeepContext {
|
||||
t.Error("mux not set")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user