Fix unit test

This commit is contained in:
Benoit Marty 2022-01-18 12:34:14 +01:00
parent 2a7719cdf6
commit f0d5260be8

View file

@ -85,7 +85,8 @@ class ModelParseTest {
val glossSeeAlso = glossDef.keys["GlossSeeAlso"] as JSonViewerArray
Assert.assertEquals(2, glossSeeAlso.items.size)
Assert.assertEquals("0", glossSeeAlso.items.first().key)
Assert.assertEquals(0, glossSeeAlso.items.first().index)
Assert.assertNull(glossSeeAlso.items.first().key)
Assert.assertEquals("GML", (glossSeeAlso.items.first() as JSonViewerLeaf).stringRes)
}
}