Fix unit test
This commit is contained in:
parent
2a7719cdf6
commit
f0d5260be8
@ -85,7 +85,8 @@ class ModelParseTest {
|
|||||||
val glossSeeAlso = glossDef.keys["GlossSeeAlso"] as JSonViewerArray
|
val glossSeeAlso = glossDef.keys["GlossSeeAlso"] as JSonViewerArray
|
||||||
|
|
||||||
Assert.assertEquals(2, glossSeeAlso.items.size)
|
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)
|
Assert.assertEquals("GML", (glossSeeAlso.items.first() as JSonViewerLeaf).stringRes)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user