mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-03-19 20:57:47 +02:00
Removed strings.Compare
This commit is contained in:
parent
1fd364aea2
commit
9a5ed6f72a
@ -5,7 +5,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -64,7 +63,7 @@ func TestTransitionCreate(t *testing.T) {
|
|||||||
t.Error("Got error: %v", err)
|
t.Error("Got error: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.Compare(payload.Transition.ID, transitionID) != 0 {
|
if payload.Transition.ID != transitionID {
|
||||||
t.Errorf("Expected %s to be in payload, got %s instead", transitionID, payload.Transition.ID)
|
t.Errorf("Expected %s to be in payload, got %s instead", transitionID, payload.Transition.ID)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user