2017-08-12 17:48:06 +00:00
|
|
|
package settings
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestSettings_Flimit(t *testing.T) {
|
|
|
|
s := Settings{}
|
2017-08-14 18:12:04 +00:00
|
|
|
s.Config.Flimit = 100
|
2017-08-12 17:48:06 +00:00
|
|
|
if err := s.Flimit(); err != nil {
|
2017-08-12 22:29:46 +00:00
|
|
|
t.Fatal("Unable to increase limit", err)
|
2017-08-12 17:48:06 +00:00
|
|
|
}
|
|
|
|
}
|