Skip to content

Commit

Permalink
Minor cleanup to use std::filesystem::path more consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronwhite committed Feb 20, 2022
1 parent 91d4f38 commit cdbbba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/formats/gp7/test_gp7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ TEST_CASE("Formats/Gp7Import/ChordDiagrams")

TEST_CASE("Formats/Gp7Export")
{
std::string test_files[] = {
std::filesystem::path test_files[] = {
"data/alternate_endings.gp",
"data/bars.gp",
//"data/bends.gp",
Expand All @@ -961,13 +961,13 @@ TEST_CASE("Formats/Gp7Export")

// Verify that importing, exporting, and re-importing produces identical
// results.
for (const std::string &test_file : test_files)
for (const std::filesystem::path &test_file : test_files)
{
CAPTURE(test_file);

Score score1;
Gp7Importer importer;
importer.load(Paths::getAppDirPath(test_file.c_str()), score1);
importer.load(Paths::getAppDirPath(test_file), score1);

Gp7Exporter exporter;
std::filesystem::path temp_file =
Expand Down

0 comments on commit cdbbba7

Please sign in to comment.