mirror of
https://github.com/open-goal/jak-project
synced 2026-09-01 17:59:55 -04:00
tests: add jak3 typeconsistency test and ensure offline tests are working (#3310)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user