mirror of
https://git.mills.io/kayos/bitraft.git
synced 2024-06-29 18:21:39 +00:00
16 lines
238 B
Go
16 lines
238 B
Go
![]() |
package main
|
||
|
|
||
|
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())
|
||
|
}
|