JS fix tests failed due to api change
This commit is contained in:
committed by
Sergey Mashkov
parent
4bc91ba652
commit
33c1d5d2cf
@@ -9,5 +9,5 @@ fun box(): String {
|
||||
element.appendChild(textNode)
|
||||
if (textNode.nodeType != Node.TEXT_NODE) return "The type of the node is ${textNode.nodeType}, ${Node.TEXT_NODE} was expected"
|
||||
if (element.nodeType != Node.ELEMENT_NODE) return "The type of the node is ${element.nodeType}, ${Node.ELEMENT_NODE} was expected"
|
||||
return element.textContent
|
||||
return element.textContent!!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user