Remove extra trailing whitespace

This commit is contained in:
Greg Karékinian 2013-11-20 00:30:04 +01:00
parent f4918a623b
commit 49d5c3457c
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ def seconds_agnostic_datetime(datetime = Time.now)
pieces = datetime.to_s.split(" ")
if pieces.size == 6 # Ruby 1.8.7
date = pieces[0..2].join(" ")
time = seconds_agnostic_time(pieces[3])
time = seconds_agnostic_time(pieces[3])
zone = pieces[4..5].join(" ")
else # Ruby 1.9.1 or greater
date, time, zone = pieces

View File

@ -7,7 +7,7 @@ class TestRedCloth < Test::Unit::TestCase
@textile = Converters::Textile.new
end
should "preserve single line breaks in HTML output" do
should "preserve single line breaks in HTML output" do
assert_equal "<p>line1<br />\nline2</p>", @textile.convert("p. line1\nline2").strip
end
end
@ -20,7 +20,7 @@ class TestRedCloth < Test::Unit::TestCase
@textile = Converters::Textile.new config
end
should "preserve single line breaks in HTML output" do
should "preserve single line breaks in HTML output" do
assert_equal "<p>line1<br />\nline2</p>", @textile.convert("p. line1\nline2").strip
end
end
@ -35,7 +35,7 @@ class TestRedCloth < Test::Unit::TestCase
@textile = Converters::Textile.new config
end
should "preserve single line breaks in HTML output" do
should "preserve single line breaks in HTML output" do
assert_equal "<p>line1<br />\nline2</p>", @textile.convert("p. line1\nline2").strip
end
end