Skip to content

Commit

Permalink
cosme: Use newer Hash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
uu59 committed Dec 12, 2016
1 parent 33656e2 commit 8e39168
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions spec/lib/regexp_preview/multi_line_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,30 +82,30 @@
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]},
]
}
]
Expand Down

0 comments on commit 8e39168

Please sign in to comment.