Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Apr 26, 2009
1 parent 5eda40b commit 97dcc0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lib/cucumber/parser/feature.rb
Expand Up @@ -486,10 +486,10 @@ def matches_name?(regexp_to_match)
name.build =~ regexp_to_match
end

def has_tags?(tag_names)
feature_tags = self.parent.tags
feature_tags.has_tags?(tag_names)
end
def has_tags?(tag_names)
feature_tags = self.parent.tags
feature_tags.has_tags?(tag_names)
end

def build
Ast::Background.new(
Expand Down
10 changes: 5 additions & 5 deletions lib/cucumber/parser/feature.tt
Expand Up @@ -82,10 +82,10 @@ module Cucumber
name.build =~ regexp_to_match
end

def has_tags?(tag_names)
feature_tags = self.parent.tags
feature_tags.has_tags?(tag_names)
end
def has_tags?(tag_names)
feature_tags = self.parent.tags
feature_tags.has_tags?(tag_names)
end

def build
Ast::Background.new(
Expand Down Expand Up @@ -266,7 +266,7 @@ module Cucumber
def build
text.text_value.strip
end
}
}
end

rule lines_to_keyword
Expand Down

0 comments on commit 97dcc0f

Please sign in to comment.