martinzink commented on code in PR #1424: URL: https://github.com/apache/nifi-minifi-cpp/pull/1424#discussion_r1044593149
########## extensions/standard-processors/tests/unit/TailFileTests.cpp: ########## @@ -99,18 +89,16 @@ TEST_CASE("TailFile reads the file until the first delimiter", "[simple]") { plan->addProcessor("LogAttribute", "logattribute", core::Relationship("success", "description"), true); auto dir = testController.createTempDirectory(); - std::stringstream temp_file; - temp_file << dir << utils::file::get_separator() << TMP_FILE; + auto temp_file_path = dir / TMP_FILE; std::ofstream tmpfile; - tmpfile.open(temp_file.str(), std::ios::out | std::ios::binary); + tmpfile.open(temp_file_path, std::ios::out | std::ios::binary); tmpfile << NEWLINE_FILE; tmpfile.close(); - std::stringstream state_file; - state_file << dir << utils::file::get_separator() << STATE_FILE; + auto state_file_path = dir / STATE_FILE; Review Comment: you are right :+1: https://github.com/apache/nifi-minifi-cpp/pull/1424/commits/6c775d116236c92105c7be38bb284f309c27887c#diff-0f2d0f56e01853fa6b0ed53098d1da12deaef25aca6b36c29ee8d3174a5556f5L99-L100 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org