File: config_test.go

package info (click to toggle)
golang-github-hashicorp-serf 0.8.1%2Bgit20180508.80ab4877~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,276 kB
  • sloc: sh: 412; python: 11; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 158 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
package serf

import (
	"testing"
)

func TestDefaultConfig(t *testing.T) {
	c := DefaultConfig()
	if c.ProtocolVersion != 4 {
		t.Fatalf("bad: %#v", c)
	}
}