pull/7705/head
pikomonde 2024-03-30 14:51:30 +07:00
parent e360b83802
commit 4a96c41db4
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ func Test_i18n_DateLang(t *testing.T) {
}
}
// TestWarnDeprecated tests the warnDeprecated function.
// It creates a new ini.File, adds some sections and keys,
// and then checks if the expected warnings are returned by the function.
func TestWarnDeprecated(t *testing.T) {
cfg := ini.Empty()
cfg.Section("mailer").NewKey("ENABLED", "true")