Short tests don't rely on PATH

This commit is contained in:
Maas Lalani
2021-06-25 22:09:17 -04:00
parent a158018e07
commit 09f46bae4b
6 changed files with 16 additions and 3 deletions

View File

@@ -102,6 +102,9 @@ func main() {
}
for _, tc := range tt {
if testing.Short() {
t.SkipNow()
}
r := code.Execute(tc.block)
if r.Out != tc.expected.Out {
t.Fatalf("invalid output, got %s, want %s", r.Out, tc.expected.Out)

View File

@@ -33,6 +33,6 @@ var Languages = map[string]Language{
},
Elixir: {
Extension: "exs",
Command: []string{"elixir"},
Command: []string{"elixir"},
},
}