1
0
mirror of https://github.com/go-task/task.git synced 2025-06-15 00:15:10 +02:00

Use semver for Taskfile versions

This commit is contained in:
Andrey Nering
2018-03-03 18:54:42 -03:00
parent afe6744e97
commit 2d4ca37226
7 changed files with 70 additions and 15 deletions

View File

@ -392,10 +392,10 @@ func TestCyclicDep(t *testing.T) {
func TestTaskVersion(t *testing.T) {
tests := []struct {
Dir string
Version int
Version string
}{
{"testdata/version/v1", 1},
{"testdata/version/v2", 2},
{"testdata/version/v1", "1"},
{"testdata/version/v2", "2"},
}
for _, test := range tests {