realize/settings/flimit_test.go

14 lines
204 B
Go
Raw Normal View History

2017-08-12 17:48:06 +00:00
package settings
import (
"testing"
)
func TestSettings_Flimit(t *testing.T) {
s := Settings{}
s.Config.Flimit = 1
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
}
}