Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
Add while loop fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
mocoso committed Aug 9, 2009
1 parent 29b047f commit 0582589
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Support/spec/fixtures/ruby.yml
Expand Up @@ -48,6 +48,24 @@
bar = '4'
end
- name: indent while statement
input: |
def foo
bar = 1
while bar < 3
puts bar
bar = bar.next
end
end
output: |
def foo
bar = 1
while bar < 3
puts bar
bar = bar.next
end
end
- name: ignore code after end of line comment
input: |
def method_containing_end_of_line_comment
Expand Down

0 comments on commit 0582589

Please sign in to comment.