Add vendor folder to git

This commit is contained in:
Lucas Käldström 2017-06-26 19:23:05 +03:00
parent 66cf5eaafb
commit 183585f56f
No known key found for this signature in database
GPG key ID: 600FEFBBD0D40D21
6916 changed files with 2629581 additions and 1 deletions

19
vendor/github.com/prometheus/procfs/stat_test.go generated vendored Normal file
View file

@ -0,0 +1,19 @@
package procfs
import "testing"
func TestStat(t *testing.T) {
fs, err := NewFS("fixtures")
if err != nil {
t.Fatal(err)
}
s, err := fs.NewStat()
if err != nil {
t.Fatal(err)
}
if want, got := int64(1418183276), s.BootTime; want != got {
t.Errorf("want boot time %d, got %d", want, got)
}
}