DRY file loading

This commit is contained in:
Taylor Gerring
2015-06-10 18:11:30 -04:00
parent ac0637c413
commit 6ff956394a
5 changed files with 42 additions and 58 deletions

View File

@ -19,7 +19,7 @@ func RunVmTest(p string) error {
}
tests := make(map[string]VmTest)
err := CreateFileTests(p, &tests)
err := readTestFile(p, &tests)
if err != nil {
return err
}