Skip to content

Commit 3645394

Browse files
committed
refactor: change export format from CSV to JSON in SolutionAnalyzerTests
1 parent f1626b9 commit 3645394

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CodeLineCounter.Tests/SolutionAnalyzerTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ public void export_results_with_valid_input_exports_all_files()
230230
var baseSolutionPath = Path.GetFullPath(Path.Combine(basePath, "..", "..", "..", ".."));
231231

232232
var solutionPath = Path.Combine(baseSolutionPath, "CodelineCounter.sln");
233-
var format = CoreUtils.ExportFormat.CSV;
233+
var format = CoreUtils.ExportFormat.JSON;
234234
Console.SetOut(sw);
235235
SolutionAnalyzer.ExportResults(result, solutionPath, format, baseSolutionPath);
236236
// Assert
237-
Assert.True(File.Exists(Path.Combine(baseSolutionPath, "CodelineCounter.CodeMetrics.csv")));
238-
Assert.True(File.Exists(Path.Combine(baseSolutionPath, "CodelineCounter.CodeDuplications.csv")));
237+
Assert.True(File.Exists(Path.Combine(baseSolutionPath, "CodelineCounter.CodeMetrics.json")));
238+
Assert.True(File.Exists(Path.Combine(baseSolutionPath, "CodelineCounter.CodeDuplications.json")));
239239
Assert.True(File.Exists(Path.Combine(baseSolutionPath, "CodelineCounter-Dependencies.dot")));
240240
}
241241

0 commit comments

Comments
 (0)