mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00:00
improve remote addr parsing as requested at: https://github.com/kataras/iris/issues/1453
Former-commit-id: e5fde988eda9bf582b04285a1c77ba123910a699
This commit is contained in:
@@ -112,10 +112,13 @@ func createGlobalConfiguration(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestConfigurationGlobal(t *testing.T) {
|
||||
t.Cleanup(func() {
|
||||
os.Remove(homeConfigurationFilename(".yml"))
|
||||
})
|
||||
|
||||
createGlobalConfiguration(t)
|
||||
|
||||
testConfigurationGlobal(t, WithGlobalConfiguration)
|
||||
// globalConfigurationKeyword = "~""
|
||||
testConfigurationGlobal(t, WithConfiguration(YAML(globalConfigurationKeyword)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user