mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-24 23:00:50 +01:00
Correct typo in test error message
The error message within the test case had a typographical error. The word "length" was incorrectly spelled as "lenght". This has been fixed to enhance the readability of the code.
This commit is contained in:
parent
da910fde14
commit
f153754dc4
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ func TestGenerator_RandomBytes(t *testing.T) {
|
||||||
}
|
}
|
||||||
bl := len(rb)
|
bl := len(rb)
|
||||||
if int64(bl) != tc.l {
|
if int64(bl) != tc.l {
|
||||||
t.Errorf("lenght of provided bytes does not match requested length: got: %d, expected: %d",
|
t.Errorf("length of provided bytes does not match requested length: got: %d, expected: %d",
|
||||||
bl, tc.l)
|
bl, tc.l)
|
||||||
}
|
}
|
||||||
if bytes.Equal(rb, make([]byte, tc.l)) {
|
if bytes.Equal(rb, make([]byte, tc.l)) {
|
||||||
|
|
Loading…
Reference in a new issue