1
0
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:
cn
2020-12-06 13:18:48 +01:00
parent a6d6a14149
commit 5508b0dff3
3 changed files with 38 additions and 18 deletions

12
common/misc_test.go Normal file
View 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"))
}