Skip to content

Commit

Permalink
more informative taciturn output
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Nov 16, 2010
1 parent 16d0541 commit 6c58464
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions lib/shindo/taciturn.rb
Expand Up @@ -12,9 +12,10 @@ def display_description_stack(description_stack = @description_stack, formatador
end end


def display_description(description) def display_description(description)
unless @indented unless @described
print ' ' Thread.current[:formatador].display(description)
@indented = true print ' '
@described = true
end end
end end


Expand Down
2 changes: 1 addition & 1 deletion tests/tag_tests.rb
@@ -1,4 +1,4 @@
Shindo.tests('bin') do Shindo.tests('tag') do


tests("negative -negative") do tests("negative -negative") do
@output = bin("#{path('negative')} -negative") @output = bin("#{path('negative')} -negative")
Expand Down

0 comments on commit 6c58464

Please sign in to comment.