Commits

Joseph Poirier  committed 99b9240

ran gofix

  • Participants
  • Parent commits 29e2fea

Comments (0)

Files changed (1)

File gich_test.go

 package main
 
 import (
-	"exec"
+	"fmt"
 	"io/ioutil"
-	"fmt"
+	"os/exec"
 	"syscall"
 )
 
-var exeExt string = func () string {
-			if syscall.OS == "windows" {
-				return ".exe"
-			}
-			return ""
-		}()
+var exeExt string = func() string {
+	if syscall.OS == "windows" {
+		return ".exe"
+	}
+	return ""
+}()
 
 func TestFlagH() {
 	//             stdin, stdout, stderr
 	}
 }
 
-
 func TestMisc() {
 	//             stdin, stdout, stderr
 	c := "gich" + exeExt
 }
 
 // TODO: add benchmark/profiling
-  //func Benchmark() {
+//func Benchmark() {
 //	b.StopTimer()
 
 //	// data creation
 	TestNoArgs()
 	TestInvalidArg()
 	TestMisc()
-//	if syscall.OS == "windows" {
-//	} else {
+	//	if syscall.OS == "windows" {
+	//	} else {
 
-//	}
-//	TestFlagA()
+	//	}
+	//	TestFlagA()
 	TestFlagS1()
 	TestFlagS2()
 	fmt.Println("PASS")
 }
-
-