mirror of https://github.com/gogs/gogs.git
add docs
parent
e360b83802
commit
4a96c41db4
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue