test fixed
This commit is contained in:
parent
d12ac06eb4
commit
9ffdf3c773
@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
func TestSettings_Flimit(t *testing.T) {
|
func TestSettings_Flimit(t *testing.T) {
|
||||||
s := Settings{}
|
s := Settings{}
|
||||||
s.Config.Flimit = 1
|
s.Config.Flimit = 100
|
||||||
if err := s.Flimit(); err != nil {
|
if err := s.Flimit(); err != nil {
|
||||||
t.Fatal("Unable to increase limit", err)
|
t.Fatal("Unable to increase limit", err)
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,4 @@ func TestSettings_Create(t *testing.T) {
|
|||||||
}
|
}
|
||||||
f := s.Create(p, "io_test")
|
f := s.Create(p, "io_test")
|
||||||
os.Remove(f.Name())
|
os.Remove(f.Name())
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user