github.com/ranjib/nomad@v0.1.1-0.20160225204057-97751b02f70b/client/driver/lxc_test.go (about) 1 package driver 2 3 import ( 4 "testing" 5 ) 6 7 func TestLXCDriver_Handle(t *testing.T) { 8 t.Parallel() 9 h := &lxcHandle{ 10 Name: "foo", 11 } 12 actual := h.ID() 13 expected := "LXC:foo" 14 if actual != expected { 15 t.Errorf("Expected: `%s`, Found: `%s`", actual, expected) 16 } 17 }