diff --git a/ps_test.go b/ps_test.go index a9c5f6b..e3e8b06 100644 --- a/ps_test.go +++ b/ps_test.go @@ -13,8 +13,15 @@ func TestPkgPath(t *testing.T) { fmt.Println(pkgpath) } +func TestOpen(t *testing.T) { + if testing.Short() { + t.Skip("Skipping \"TestOpen\"") + } + Open("F:\\GitLab\\dreamkeepers-psd\\Template009.1.psd") +} + // TODO: Comparison borked -func TestRun(t *testing.T) { +/*func TestRun(t *testing.T) { out := []byte("Testing...\n") msg, err := run("test") if err != nil { @@ -27,14 +34,7 @@ func TestRun(t *testing.T) { os.Remove(path.Join(pkgpath, "scripts", "test.txt")) } } - -func TestOpen(t *testing.T) { - if testing.Short() { - t.Skip("Skipping \"TestOpen\"") - } - Open("F:\\GitLab\\dreamkeepers-psd\\Template009.1.psd") -} - +*/ func TestQuit(t *testing.T) { if testing.Short() { t.Skip("Skipping \"TestQuit\"") @@ -44,11 +44,11 @@ func TestQuit(t *testing.T) { func TestWait(t *testing.T) { Wait("Waiting...") + fmt.Println() } // TODO: Comparison borked -/* -func TestJS(t *testing.T) { +/*func TestJS(t *testing.T) { out := "Testing...\n" _, err := Js(path.Join(Folder, "test.jsx"), Folder) if err != nil { @@ -64,5 +64,4 @@ func TestJS(t *testing.T) { fail := fmt.Sprintf("TestJS failed.\ngot:\t\"%s\"\nwant:\t\"%s\"", f, out) t.Fatal(fail) } -} -*/ +}*/