Skip to content

Commit

Permalink
Reverts indentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zamith committed Mar 21, 2014
1 parent 4f60c61 commit 76ebfb8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/m.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,18 @@ def suites
# Memoize it since it's unnecessary to do this more than one for a given file.
def tests
@tests ||= begin
require "m/test_collection"
require "m/test_method"
# With each suite and array of tests,
# and with each test method present in this test file,
# shove a new test method into this collection.
suites.inject(TestCollection.new) do |collection, (suite_class, test_methods)|
test_methods.each do |test_method|
collection << TestMethod.create(suite_class, test_method)
end
collection
end
end
require "m/test_collection"
require "m/test_method"
# With each suite and array of tests,
# and with each test method present in this test file,
# shove a new test method into this collection.
suites.inject(TestCollection.new) do |collection, (suite_class, test_methods)|
test_methods.each do |test_method|
collection << TestMethod.create(suite_class, test_method)
end
collection
end
end
end

# Fail loudly if this isn't supported
Expand Down

0 comments on commit 76ebfb8

Please sign in to comment.