Skip to content

Commit

Permalink
Improved spacing a little
Browse files Browse the repository at this point in the history
  • Loading branch information
peterc committed Aug 13, 2011
1 parent dfc4e44 commit ab2e16e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/testrocket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def -@; r = _test :_fail, :_pass; (TestRocket.out || $>).puts r; r end
def ~@; r = _pend; (TestRocket.out || $>).puts r; r end
def !@; r = _desc; (TestRocket.out || $>).puts r; r end

def _pass; ' OK'; end
def _fail; "FAIL @ #{source_location.join(':')}"; end
def _pass; ' OK'; end
def _fail; " FAIL @ #{source_location.join(':')}"; end
def _pend; "PENDING '#{call.to_s}' @ #{source_location.join(':')}"; end
def _desc; " FIRE '#{call.to_s}'!"; end
def _desc; " FIRE '#{call.to_s}'!"; end
end

Proc.send :include, TestRocket

0 comments on commit ab2e16e

Please sign in to comment.