tests: add jak3 typeconsistency test and ensure offline tests are working (#3310)

This commit is contained in:
Tyler Wilding
2024-01-16 00:15:33 -05:00
committed by GitHub
parent 07427799a6
commit 4101d5d80e
14 changed files with 86 additions and 28 deletions
+3 -3
View File
@@ -85,9 +85,9 @@ std::pair<int, int> SourceText::get_containing_line(int offset) {
/*!
* Read text from a file.
*/
FileText::FileText(const std::string& filename, const std::string& description_name)
: m_filename(filename), m_desc_name(description_name) {
m_text = file_util::read_text_file(m_filename);
FileText::FileText(const std::string& file_path, const std::string& description_name)
: m_filepath(file_path), m_desc_name(description_name) {
m_text = file_util::read_text_file(m_filepath);
build_offsets();
}