Skip to content

Commit d1e2a83

Browse files
author
Benoit Hudson
committed
Fix unit test.
It was failing with the new default of '.' because the expected path wasn't cleaned up.
1 parent fba9544 commit d1e2a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxExportSettingsTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void TestGetSetFields()
165165
Path.DirectorySeparatorChar);
166166

167167
var defaultAbsolutePath = ExportSettings.GetAbsoluteSavePath();
168-
var dataPath = Path.Combine(appDataPath, ExportSettings.kDefaultSavePath);
168+
var dataPath = Path.GetFullPath(Path.Combine(appDataPath, ExportSettings.kDefaultSavePath));
169169
Assert.AreEqual(dataPath, defaultAbsolutePath);
170170

171171
// set; check that the saved value is platform-independent,

0 commit comments

Comments
 (0)