.github/workflows: extend testing matrix

This commit is contained in:
Filippo Valsorda
2021-01-03 00:28:03 +01:00
committed by GitHub
parent f5a47fcc9a
commit 7ab2008136
3 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ import (
func TestVectors(t *testing.T) {
files, _ := filepath.Glob("testdata/*.age")
for _, f := range files {
name := strings.TrimSuffix(strings.TrimPrefix(f, "testdata/"), ".age")
_, name := filepath.Split(f)
name = strings.TrimSuffix(name, ".age")
expectFailure := strings.HasPrefix(name, "fail_")
t.Run(name, func(t *testing.T) {
var identities []age.Identity