Updating server dependancies. Also adding github.com/jaytaylor/html2text and gopkg.in/gomail.v2 (#5748)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3ada7a41a7
Коммит
c281ee3b61
9
vendor/github.com/prometheus/procfs/mountstats_test.go
сгенерированный
поставляемый
9
vendor/github.com/prometheus/procfs/mountstats_test.go
сгенерированный
поставляемый
@@ -12,7 +12,6 @@ func TestMountStats(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
s string
|
||||
fs bool
|
||||
mounts []*Mount
|
||||
invalid bool
|
||||
}{
|
||||
@@ -113,7 +112,6 @@ func TestMountStats(t *testing.T) {
|
||||
},
|
||||
{
|
||||
name: "fixtures OK",
|
||||
fs: true,
|
||||
mounts: []*Mount{
|
||||
{
|
||||
Device: "rootfs",
|
||||
@@ -201,10 +199,9 @@ func TestMountStats(t *testing.T) {
|
||||
|
||||
if tt.s != "" {
|
||||
mounts, err = parseMountStats(strings.NewReader(tt.s))
|
||||
}
|
||||
if tt.fs {
|
||||
proc, err := FS("fixtures").NewProc(26231)
|
||||
if err != nil {
|
||||
} else {
|
||||
proc, e := FS("fixtures").NewProc(26231)
|
||||
if e != nil {
|
||||
t.Fatalf("failed to create proc: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user