(t *testing.T)
| 241 | } |
| 242 | |
| 243 | func TestMissingHostFallback(t *testing.T) { |
| 244 | entry := testAccessEntry() |
| 245 | entry.Request.RemoteAddr = "" |
| 246 | testAccessLogDefault( |
| 247 | t, |
| 248 | entry, |
| 249 | `- - - [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.1" 418 2326 "-" "-" 42 example.com - -`, |
| 250 | ) |
| 251 | } |
| 252 | |
| 253 | func TestMissingHostFallbackJSON(t *testing.T) { |
| 254 | entry := testAccessEntry() |
nothing calls this directly
no test coverage detected
searching dependent graphs…