mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-27 13:32:46 -05:00
Fix tests which use hardcoded versions
This commit is contained in:
parent
40401538c8
commit
130f049a43
|
|
@ -646,7 +646,9 @@ namespace VRM
|
|||
EnableDiagnosisForNotRequiredFields = true,
|
||||
};
|
||||
var json2 = JsonSchema.FromType<glTF_VRM_extensions>().Serialize(model, c);
|
||||
Assert.AreEqual(@"{""exporterVersion"":""UniVRM-0.50"",""specVersion"":""0.0""}",json2);
|
||||
var expected =
|
||||
String.Format(@"{{""exporterVersion"":""{0}"",""specVersion"":""0.0""}}", VRMVersion.VRM_VERSION);
|
||||
Assert.AreEqual(expected,json2);
|
||||
}
|
||||
|
||||
// TODO: Move to another suitable location
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user