Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Nov 25, 2009
1 parent 0068e60 commit 70b796d
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 81 deletions.
2 changes: 1 addition & 1 deletion Parser/SpecFlowUnitTestConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ private CodeExpression GetMultilineTextArgExpression(string multiLineTextArgumen

private void AddLinePragmaInitial(CodeTypeDeclaration testType, Feature feature)
{
testType.Members.Add(new CodeSnippetTypeMember(string.Format("#line 1 \"{0}\"", feature.SourceFile)));
testType.Members.Add(new CodeSnippetTypeMember(string.Format("#line 1 \"{0}\"", Path.GetFileName(feature.SourceFile))));
testType.Members.Add(new CodeSnippetTypeMember("#line hidden"));
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 63 additions & 27 deletions Samples/BowlingKata/Bowling.Specflow/ScoreCalculation.feature.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 70b796d

Please sign in to comment.