Prevent linter from reporting a deprecation warning in a test

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-08 09:09:47 +02:00
parent 22f03eb67f
commit 0348df1df5
+1
View File
@@ -68,6 +68,7 @@ func TestSwappableMuxSetSetsTheGivenMux(t *testing.T) {
sm.set(mux)
//nolint
if !sm.root.KeepContext {
t.Error("mux not set")
}