From e9bce55c12f87d783c651d415b6b79beeeb79737 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 28 Jun 2019 16:02:47 +0900 Subject: [PATCH] Removed excess spaces --- test/ruby/enc/test_emoji_breaks.rb | 2 +- test/ruby/enc/test_grapheme_breaks.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ruby/enc/test_emoji_breaks.rb b/test/ruby/enc/test_emoji_breaks.rb index 31d5f3f87d..7048d8d59f 100644 --- a/test/ruby/enc/test_emoji_breaks.rb +++ b/test/ruby/enc/test_emoji_breaks.rb @@ -9,7 +9,7 @@ end class TestEmojiBreaks::BreakTest attr_reader :string, :comment, :filename, :line_number, :type, :shortname - def initialize (filename, line_number, data, comment='') + def initialize(filename, line_number, data, comment='') @filename = filename @line_number = line_number @comment = comment.gsub(/\s+/, ' ').strip diff --git a/test/ruby/enc/test_grapheme_breaks.rb b/test/ruby/enc/test_grapheme_breaks.rb index c982a839df..2d210946a9 100644 --- a/test/ruby/enc/test_grapheme_breaks.rb +++ b/test/ruby/enc/test_grapheme_breaks.rb @@ -9,7 +9,7 @@ end class TestGraphemeBreaksFromFile::BreakTest attr_reader :clusters, :string, :comment, :line_number - def initialize (line_number, data, comment) + def initialize(line_number, data, comment) @line_number = line_number @comment = comment @clusters = data.sub(/\A\s*รท\s*/, '')