various: fix minor typos (#187)
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
2b28439137
commit
661d72474b
3 changed files with 7 additions and 6 deletions
|
|
@ -222,17 +222,17 @@ func TestPlaywrightBrowser(t *testing.T) {
|
|||
t.Skip("skipping hard challenge with deadline")
|
||||
}
|
||||
|
||||
var perfomedAction action
|
||||
var performedAction action
|
||||
var err error
|
||||
for i := 0; i < 5; i++ {
|
||||
perfomedAction, err = executeTestCase(t, tc, typ, anubisURL)
|
||||
if perfomedAction == tc.action {
|
||||
performedAction, err = executeTestCase(t, tc, typ, anubisURL)
|
||||
if performedAction == tc.action {
|
||||
break
|
||||
}
|
||||
time.Sleep(time.Duration(i+1) * 250 * time.Millisecond)
|
||||
}
|
||||
if perfomedAction != tc.action {
|
||||
t.Errorf("unexpected test result, expected %s, got %s", tc.action, perfomedAction)
|
||||
if performedAction != tc.action {
|
||||
t.Errorf("unexpected test result, expected %s, got %s", tc.action, performedAction)
|
||||
}
|
||||
if err != nil {
|
||||
t.Fatalf("test error: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue