Switch to semver, basic test.
This commit is contained in:
13
config/config_test.go
Normal file
13
config/config_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package config_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/tardisx/discord-auto-upload/config"
|
||||
)
|
||||
|
||||
func TestVersioning(t *testing.T) {
|
||||
if !config.NewVersionAvailable("v0.1.0") {
|
||||
t.Error("should be a version newer than v0.1.0")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user