version_test.go 246 B

12345678910111213141516
  1. package version
  2. import (
  3. "testing"
  4. "github.com/cloudflare/cfssl/cli"
  5. )
  6. func TestVersionMain(t *testing.T) {
  7. args := []string{"cfssl", "version"}
  8. err := versionMain(args, cli.Config{})
  9. if err != nil {
  10. t.Fatal("version main failed")
  11. }
  12. }