We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b719ffb commit da3d974Copy full SHA for da3d974
test_nginxfmt.py
@@ -327,6 +327,24 @@ def test_issue_16(self):
327
" deny all;\n"
328
"}\n")
329
330
+ def test_issue_9(self):
331
+ self.check_formatting(
332
+ (
333
+ """http {\n"""
334
+ """ log_format le_json '{"time":"$time_iso8601", '\n"""
335
+ """ '"client_agent":"$client_agent",\n"""
336
+ """ '"user_agent":"$http_user_agent"}';\n"""
337
+ """}\n"""
338
+ ),
339
340
341
342
343
344
345
346
+ )
347
+
348
349
if __name__ == '__main__':
350
unittest.main()
0 commit comments