Use canonical file paths for filenames in model (#275)

This commit is contained in:
Jaye Evins
2026-01-02 13:34:44 -05:00
committed by GitHub
parent d17bb2e1be
commit 742b80fc47
5 changed files with 32 additions and 14 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ void TestXmlLabel::parser_3ReadFile()
Model* model = XmlLabelParser::readFile( glabelsFileInfo.absoluteFilePath() );
QVERIFY( model );
QCOMPARE( model->fileName(), glabelsFileInfo.filePath() );
QCOMPARE( model->fileName(), glabelsFileInfo.canonicalFilePath() );
QCOMPARE( model->tmplate().brand(), QString( "Avery" ) );
QCOMPARE( model->tmplate().part(), QString( "5395" ) );