Closes #24
This commit is contained in:
1 parent
fc97682b37
commit
e555ebb571
16 files changed
+337
-52
No files matched your search
@@ -29,7 +29,7 @@ VAL_ 2147483939 State -2 "Extended minus two";
|
||||
if (!file.open()) throw std::runtime_error("Cannot create DBC fixture");
|
||||
if (file.write(text.data(), static_cast<qint64>(text.size())) != static_cast<qint64>(text.size()) || !file.flush())
|
||||
throw std::runtime_error("Cannot write DBC fixture");
|
||||
return DbcParser().ParseFileWithDiagnostics(file.fileName().toStdString());
|
||||
return DbcParser(DbcParserOptions{true}).ParseFileWithDiagnostics(file.fileName().toStdString());
|
||||
}
|
||||
|
||||
// Independent expectations ensure a parser regression cannot be hidden by
|
||||
|
||||
Reference in new issue
Block a user