Switch to semver, basic test.

This commit is contained in:
2021-06-17 18:47:59 +09:30
parent c47660addf
commit 1812486b19
6 changed files with 54 additions and 3 deletions

13
config/config_test.go Normal file
View 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")
}
}