Use #slice
instead of #slice!
#265
Annotations
3 errors
Run tests:
test/plugin/test_in_tcp.rb#L315
<{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
:records=>[{"k"=>"v"}]}> expected but was
<{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
"[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}>.
diff:
{:logs=>
- ["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
? -
+ ["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
+ "[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}
folded diff:
{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12
- size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
? -
+ size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
+ "[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}
|
Run tests:
test/plugin/test_in_tcp.rb#L315
<{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
:records=>[{"k"=>"v"}]}> expected but was
<{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
"[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}>.
diff:
{:logs=>
- ["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
? -
+ ["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12 size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
+ "[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}
folded diff:
{:logs=>
["[info]: The buffer size exceeds 'message_length_limit', cleared: limit=12
- size=17 head=\"{\\\"message\\\":\\\"hello\"\n"],
? -
+ size=17 head=\"{\\\"message\\\":\\\"hello\"\n",
+ "[warn]: pattern not matched message=\"world!\\\"}\"\n"],
:records=>[{"k"=>"v"}]}
|
Run tests
Process completed with exit code 1.
|
Loading