Skip to content

Commit

Permalink
Remove extra trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkare committed Nov 19, 2013
1 parent f4918a6 commit 49d5c34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions test/test_redcloth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 49d5c34

Please sign in to comment.