diff --git a/os/gcron/gcron_unit_1_test.go b/os/gcron/gcron_unit_1_test.go index 4e408e2a3..5d471c8c7 100644 --- a/os/gcron/gcron_unit_1_test.go +++ b/os/gcron/gcron_unit_1_test.go @@ -41,7 +41,7 @@ func TestCron_Add_Close(t *testing.T) { t.Assert(cron.Size(), 3) time.Sleep(1200 * time.Millisecond) t.Assert(array.Len(), 2) - time.Sleep(1200 * time.Millisecond) + time.Sleep(1500 * time.Millisecond) t.Assert(array.Len(), 5) cron.Close() time.Sleep(1200 * time.Millisecond) diff --git a/text/gstr/gstr_case.go b/text/gstr/gstr_case.go index f8f6aa3e0..a720beea0 100644 --- a/text/gstr/gstr_case.go +++ b/text/gstr/gstr_case.go @@ -76,7 +76,7 @@ func SnakeScreamingCase(s string) string { // CaseSnakeScreaming converts a string to SNAKE_CASE_SCREAMING. func CaseSnakeScreaming(s string) string { - return DelimitedScreamingCase(s, '_', true) + return CaseDelimitedScreaming(s, '_', true) } // SnakeFirstUpperCase converts a string from RGBCodeMd5 to rgb_code_md5.