mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Big dependency update, all lowercase sirupsen's for all dependencies.
This commit is contained in:
14
vendor/github.com/prometheus/procfs/stat_test.go
generated
vendored
Normal file
14
vendor/github.com/prometheus/procfs/stat_test.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package procfs
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestStat(t *testing.T) {
|
||||
s, err := FS("fixtures").NewStat()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if want, have := int64(1418183276), s.BootTime; want != have {
|
||||
t.Errorf("want boot time %d, have %d", want, have)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user