nlink/nomad/db_test.go

12 lines
190 B
Go

package nomad
import "testing"
func TestBuildArgs(t *testing.T) {
expected := "?,?,?"
args := buildArgs(3)
if expected != args {
t.Fatalf("have '%s', want '%s'", args, expected)
}
}