mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
cosme: Use newer Hash syntax
This commit is contained in:
parent
33656e29f4
commit
8e39168288
@ -82,30 +82,30 @@ describe RegexpPreview::MultiLine do
|
||||
matches_info =
|
||||
[
|
||||
{
|
||||
:whole => "2013-3-03 14:27:33 [main] INFO Main - Start\n",
|
||||
:matches => [
|
||||
{:key => "time", :matched => "2013-3-03 14:27:33", :pos => [0, 18]},
|
||||
{:key => "thread", :matched => "main", :pos => [20, 24]},
|
||||
{:key => "level", :matched => "INFO", :pos => [26, 30]},
|
||||
{:key => "message", :matched => " Main - Start\n", :pos => [30, 45]}
|
||||
whole: "2013-3-03 14:27:33 [main] INFO Main - Start\n",
|
||||
matches: [
|
||||
{key: "time", matched: "2013-3-03 14:27:33", pos: [0, 18]},
|
||||
{key: "thread", matched: "main", pos: [20, 24]},
|
||||
{key: "level", matched: "INFO", pos: [26, 30]},
|
||||
{key: "message", matched: " Main - Start\n", pos: [30, 45]}
|
||||
]
|
||||
},
|
||||
{
|
||||
:whole => "2013-3-03 14:27:33 [main] ERROR Main - Exception\njavax.management.RuntimeErrorException: null\n at Main.main(Main.java:16) ~[bin/:na]\n",
|
||||
:matches => [
|
||||
{:key => "time", :matched => "2013-3-03 14:27:33", :pos => [0, 18]},
|
||||
{:key => "thread", :matched => "main", :pos => [20, 24]},
|
||||
{:key => "level", :matched => "ERROR", :pos => [26, 31]},
|
||||
{:key => "message", :matched => " Main - Exception\njavax.management.RuntimeErrorException: null\n at Main.main(Main.java:16) ~[bin/:na]\n", :pos => [31, 136]},
|
||||
whole: "2013-3-03 14:27:33 [main] ERROR Main - Exception\njavax.management.RuntimeErrorException: null\n at Main.main(Main.java:16) ~[bin/:na]\n",
|
||||
matches: [
|
||||
{key: "time", matched: "2013-3-03 14:27:33", pos: [0, 18]},
|
||||
{key: "thread", matched: "main", pos: [20, 24]},
|
||||
{key: "level", matched: "ERROR", pos: [26, 31]},
|
||||
{key: "message", matched: " Main - Exception\njavax.management.RuntimeErrorException: null\n at Main.main(Main.java:16) ~[bin/:na]\n", pos: [31, 136]},
|
||||
]
|
||||
},
|
||||
{
|
||||
:whole => "2013-3-03 14:27:33 [main] INFO Main - End",
|
||||
:matches => [
|
||||
{:key => "time", :matched => "2013-3-03 14:27:33", :pos => [0, 18]},
|
||||
{:key => "thread", :matched => "main", :pos => [20, 24]},
|
||||
{:key => "level", :matched => "INFO", :pos => [26, 30]},
|
||||
{:key => "message", :matched => " Main - End", :pos => [30, 42]},
|
||||
whole: "2013-3-03 14:27:33 [main] INFO Main - End",
|
||||
matches: [
|
||||
{key: "time", matched: "2013-3-03 14:27:33", pos: [0, 18]},
|
||||
{key: "thread", matched: "main", pos: [20, 24]},
|
||||
{key: "level", matched: "INFO", pos: [26, 30]},
|
||||
{key: "message", matched: " Main - End", pos: [30, 42]},
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user