Skip to content

Commit

Permalink
fix resource path in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 26, 2024
1 parent 4e7f37d commit ee09f78
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/src/html_output_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,11 @@ TEST_P(HtmlOutputTests, html_meta) {
EXPECT_LT(0, fs::file_size(meta_output));
}

const std::string resource_path =
common::Path(output_path_prefix).parent().join("resources").string();
const std::string resource_path = common::Path(output_path_prefix)
.parent()
.parent()
.join("resources")
.string();
OpenDocumentReader::copy_resources(resource_path);

HtmlConfig config;
Expand Down

0 comments on commit ee09f78

Please sign in to comment.