Skip to content

Commit fb628eb

Browse files
committed
Add a test case for issue #43633
1 parent 2884daf commit fb628eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/bala/record/ClosedRecordTypeInclusionTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public void testValRefType() {
111111
public void testRefTypes() {
112112
Object returns = BRunUtil.invoke(compileResult, "testRefTypes");
113113
BMap<?, ?> foo2 = (BMap<?, ?>) returns;
114+
assertEquals(foo2.getType().getTag(), TypeTags.TYPE_REFERENCED_TYPE_TAG);
114115
assertEquals(foo2.get(StringUtils.fromString("s")).toString(), "qwerty");
115116
assertEquals(foo2.get(StringUtils.fromString("i")), 10L);
116117
assertEquals(getType(foo2.get(StringUtils.fromString("rj"))).getTag(), TypeTags.MAP_TAG);

0 commit comments

Comments
 (0)