| 19 | |
| 20 | namespace { |
| 21 | std::string MakeTestFilePath(const std::string_view& name) { |
| 22 | try { |
| 23 | path filename = temp_directory_path(); |
| 24 | filename.append("test"); |
| 25 | filename.append("mdf"); |
| 26 | create_directories(filename); |
| 27 | filename.append(name); |
| 28 | remove(filename); |
| 29 | return filename.string(); |
| 30 | |
| 31 | } catch (const std::exception& err) { |
| 32 | std::cout << err.what() << std::endl; |
| 33 | } |
| 34 | return {}; |
| 35 | } |
| 36 | |
| 37 | bool IsEllipse(const std::string& text) { |
| 38 | return text.find("..") != std::string::npos; |