File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ func TestTitle(t *testing.T) {
212212
213213 expectedTitle := "Go Selenium Test Suite"
214214 if title != expectedTitle {
215- t .Fatal ("Bad title %s, should be %s" , title , expectedTitle )
215+ t .Fatalf ("Bad title %s, should be %s" , title , expectedTitle )
216216 }
217217}
218218
@@ -270,7 +270,7 @@ func TestFindElements(t *testing.T) {
270270 }
271271
272272 if len (elems ) != 1 {
273- t .Fatal ("Wrong number of elements %d (should be 1)" , len (elems ))
273+ t .Fatalf ("Wrong number of elements %d (should be 1)" , len (elems ))
274274 }
275275
276276 we , ok := elems [0 ].(* remoteWE )
@@ -510,7 +510,7 @@ func TestExecuteScript(t *testing.T) {
510510 }
511511
512512 if result != 3 {
513- t .Fatal ("Bad result %d (expected 3)" , result )
513+ t .Fatalf ("Bad result %d (expected 3)" , result )
514514 }
515515}
516516
You can’t perform that action at this time.
0 commit comments