mirror of
https://github.com/wneessen/apg-go.git
synced 2024-12-23 03:30:39 +01:00
Remove unnecessary comments in random_test.go
Removed redundant comments in random_test.go, specifically in TestGetCharRangeFromConfig function. This change simplifies and tidies the code, while maintaining its comprehensibility and the clarity of the test cases structure.
This commit is contained in:
parent
a03f170738
commit
2973ff4c39
1 changed files with 0 additions and 4 deletions
|
@ -148,11 +148,8 @@ func TestGenerator_RandomString(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestGetCharRangeFromConfig(t *testing.T) {
|
||||
// Arrange
|
||||
config := NewConfig()
|
||||
generator := New(config)
|
||||
|
||||
// Test cases
|
||||
testCases := []struct {
|
||||
Name string
|
||||
ConfigMode ModeMask
|
||||
|
@ -205,7 +202,6 @@ func TestGetCharRangeFromConfig(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
// Act and assert for each test case
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.Name, func(t *testing.T) {
|
||||
generator.config.Mode = tc.ConfigMode
|
||||
|
|
Loading…
Reference in a new issue