Skip to content

Commit

Permalink
minor bug fix: support spaces in parameters representation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsitnik committed Jun 20, 2016
1 parent d03d179 commit 2373706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BenchmarkDotNet/Toolchains/GeneratorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private ArtifactsPaths GetArtifactsPaths(Benchmark benchmark, IConfig config, st
private string GetProgramName(Benchmark benchmark, IConfig config)
{
const string shortName = "BDN.Auto";
return config.KeepBenchmarkFiles ? benchmark.ShortInfo : shortName;
return config.KeepBenchmarkFiles ? benchmark.ShortInfo.Replace(' ', '_') : shortName;
}

private void GenerateCode(Benchmark benchmark, ArtifactsPaths artifactsPaths)
Expand Down

0 comments on commit 2373706

Please sign in to comment.