mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-28 09:41:02 +00:00
958ba6d9d2
Co-authored-by: James Mills <prologic@shortcircuit.net.au> Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/55
16 lines
241 B
Go
16 lines
241 B
Go
package saltyim
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestFullVersion(t *testing.T) {
|
|
assert := assert.New(t)
|
|
|
|
expected := fmt.Sprintf("%s@%s", Version, Commit)
|
|
assert.Equal(expected, FullVersion())
|
|
}
|