File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
1515func TestDefaults (t * testing.T ) {
1616 t .Parallel ()
1717 gate := NewGate ()
18- ctx := NewContext (context .Background (), gate )
1918
2019 assert .Assert (t , false == gate .Enabled (AppendCustomQueries ))
2120 assert .Assert (t , true == gate .Enabled (AutoCreateUserSchema ))
@@ -25,18 +24,14 @@ func TestDefaults(t *testing.T) {
2524 assert .Assert (t , false == gate .Enabled (PGBouncerSidecars ))
2625 assert .Assert (t , false == gate .Enabled (TablespaceVolumes ))
2726 assert .Assert (t , false == gate .Enabled (VolumeSnapshots ))
28-
29- assert .Equal (t , ShowAssigned (ctx ), "" )
3027}
3128
3229func TestStringFormat (t * testing.T ) {
3330 t .Parallel ()
3431 gate := NewGate ()
35- ctx := NewContext (context .Background (), gate )
3632
3733 assert .NilError (t , gate .Set ("" ))
3834 assert .NilError (t , gate .Set ("TablespaceVolumes=true" ))
39- assert .Equal (t , ShowAssigned (ctx ), "TablespaceVolumes=true" )
4035 assert .Assert (t , true == gate .Enabled (TablespaceVolumes ))
4136
4237 err := gate .Set ("NotAGate=true" )
You can’t perform that action at this time.
0 commit comments