crypt: add automatic darwin support
Currently one would have to pass a `macos` flag explicitly to build on OSX, but if we replace `macos` with `darwin` this happens automatically. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
813275b6c4
commit
bca53a596c
4 changed files with 15 additions and 5 deletions
|
|
@ -1,10 +1,11 @@
|
|||
// +build !macos
|
||||
// +build !darwin
|
||||
|
||||
package crypt
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_crypt_PasswordIsCrypted(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue