1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/brew/brew_test.go
Carlos Alexandro Becker 014d348290
fixed import
2016-12-29 10:56:51 -02:00

20 lines
378 B
Go

package brew
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNameWithDash(t *testing.T) {
assert.Equal(t, formulaNameFor("some-binary"), "SomeBinary")
}
func TestNameWithUnderline(t *testing.T) {
assert.Equal(t, formulaNameFor("some_binary"), "SomeBinary")
}
func TestSimpleName(t *testing.T) {
assert.Equal(t, formulaNameFor("binary"), "Binary")
}