From 5f1a1e5c5e5c5770e82c428ec8ec406aa4ec5c31 Mon Sep 17 00:00:00 2001 From: Tracy Atteberry Date: Sat, 18 Jan 2014 12:29:59 -0600 Subject: [PATCH] Corrected a few typos. Added invalid url for TestStartWith as it seems was intended. --- open/open_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/open/open_test.go b/open/open_test.go index aa3e508..5db2da2 100644 --- a/open/open_test.go +++ b/open/open_test.go @@ -14,7 +14,7 @@ func TestRun(t *testing.T) { input = "xxxxxxxxxxxxxxx" err = Run(input) if err == nil { - t.Errorf("Run(\"%s\") did not through an error as expected", input) + t.Errorf("Run(\"%s\") did not throw an error as expected", input) } } @@ -47,7 +47,7 @@ func TestRunWith(t *testing.T) { app = "xxxxxxxxxxxxxxx" err = RunWith(input, app) if err == nil { - t.Errorf("RunWith(\"%s\", \"%s\") did not through an error as expected", input, app) + t.Errorf("RunWith(\"%s\", \"%s\") did not throw an error as expected", input, app) } } @@ -61,7 +61,7 @@ func TestStartWith(t *testing.T) { } // shouldn't error - app = "xxxxxxxxxxxxxxx" + input = "[]" err = StartWith(input, app) if err != nil { t.Errorf("StartWith(\"%s\", \"%s\") shouldn't even fail on invalid input: %s", input, app, err)