diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-08 15:59:37 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-08 15:59:37 +0900 |
commit | 0c1db0fb1db8f66d627c5e24ba538a8f80d091d1 (patch) | |
tree | 0e7a06669e38a645f9f0efb8fcc0683a97b39fbc /test/plum/test_binary_string.rb | |
parent | c803f957cd0fed1ae65c2d1108b3e71b1c90fd38 (diff) | |
download | plum-0c1db0fb1db8f66d627c5e24ba538a8f80d091d1.tar.gz |
style: prefer '{ |x|' to '{|x|'
Diffstat (limited to 'test/plum/test_binary_string.rb')
-rw-r--r-- | test/plum/test_binary_string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plum/test_binary_string.rb b/test/plum/test_binary_string.rb index 266b548..e14123d 100644 --- a/test/plum/test_binary_string.rb +++ b/test/plum/test_binary_string.rb @@ -52,7 +52,7 @@ class BinaryStringTest < Minitest::Test def test_each_byteslice_block ret = [] string = "12345678" - string.each_byteslice(3) {|part| ret << part } + string.each_byteslice(3) { |part| ret << part } assert_equal(["123", "456", "78"], ret) end |