Remove build folder afer integration test
@@ -60,10 +60,11 @@ func TestIntegrationScripts(t *testing.T) {
totalTapTests := 0
- for _, file := range files {
// Create build folder
os.Mkdir("build/", os.ModePerm)
+ defer os.RemoveAll("build")
+ for _, file := range files {
t.Run(file, func(t *testing.T) {
cProgram := programOut{}
goProgram := programOut{}
