Skip to content

Commit

Permalink
t.Fatal -> t.Fatalf
Browse files Browse the repository at this point in the history
  • Loading branch information
tebeka committed Aug 14, 2014
1 parent 096489f commit df23ef3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions remote_test.go
Expand Up @@ -212,7 +212,7 @@ func TestTitle(t *testing.T) {

expectedTitle := "Go Selenium Test Suite"
if title != expectedTitle {
t.Fatal("Bad title %s, should be %s", title, expectedTitle)
t.Fatalf("Bad title %s, should be %s", title, expectedTitle)
}
}

Expand Down Expand Up @@ -270,7 +270,7 @@ func TestFindElements(t *testing.T) {
}

if len(elems) != 1 {
t.Fatal("Wrong number of elements %d (should be 1)", len(elems))
t.Fatalf("Wrong number of elements %d (should be 1)", len(elems))
}

we, ok := elems[0].(*remoteWE)
Expand Down Expand Up @@ -510,7 +510,7 @@ func TestExecuteScript(t *testing.T) {
}

if result != 3 {
t.Fatal("Bad result %d (expected 3)", result)
t.Fatalf("Bad result %d (expected 3)", result)
}
}

Expand Down

0 comments on commit df23ef3

Please sign in to comment.