mirror of
https://github.com/cmur2/miflorad.git
synced 2025-06-26 12:30:23 +02:00
miflorad: fix some linter errors
This commit is contained in:
12
common/misc_test.go
Normal file
12
common/misc_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestMessage(t *testing.T) {
|
||||
assert.Equal(t, "", MifloraGetAlphaNumericID(""))
|
||||
assert.Equal(t, "1234567890ab", MifloraGetAlphaNumericID("12:34:56:78:90:ab"))
|
||||
}
|
Reference in New Issue
Block a user