mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Vendoring with Glide and delete function handler
This commit is contained in:
14
gateway/vendor/github.com/prometheus/procfs/stat_test.go
generated
vendored
Normal file
14
gateway/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