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