14 lines
204 B
Go
14 lines
204 B
Go
|
package settings
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestSettings_Flimit(t *testing.T) {
|
||
|
s := Settings{}
|
||
|
s.Config.Flimit = 1
|
||
|
if err := s.Flimit(); err != nil {
|
||
|
t.Error("Unable to increase limit", err)
|
||
|
}
|
||
|
}
|