mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Testing string to lower
This commit is contained in:
@@ -54,3 +54,13 @@ func TestGetSHA256(t *testing.T) {
|
||||
t.Error(fmt.Sprintf("Test failed. Expected '%x'. Actual '%x'", expectedOutput, []byte(actualStr)))
|
||||
}
|
||||
}
|
||||
|
||||
func TestStringToLower(t *testing.T) {
|
||||
t.Parallel()
|
||||
upperCaseString := "HEY MAN"
|
||||
expectedResult := "hey man"
|
||||
actualResult := StringToLower(upperCaseString)
|
||||
if actualResult != expectedResult {
|
||||
t.Error("...")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user