[JS IR BE] Unmute passed tests

This commit is contained in:
Svyatoslav Kuzmich
2019-05-05 18:59:24 +03:00
parent 331625a9bb
commit 0de1242f68
16 changed files with 1 additions and 20 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class StrList : List<String?> {
override val size: Int
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var res = ""
fun getM(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
private object NotEmptyMap : MutableMap<Any, Int> {
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
private object EmptyList : List<Nothing> {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
private object EmptyMap : Map<Any, Nothing> {
override val size: Int get() = 0
override fun isEmpty(): Boolean = true
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
private object EmptyStringMap : Map<String, Nothing> {
override val size: Int get() = 0
override fun isEmpty(): Boolean = true
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class CustomException : Throwable {
constructor(message: String?, cause: Throwable?) : super(message, cause)
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
private object NotEmptyList : MutableList<Any> {
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
private object NotEmptyMap : MutableMap<Any, Any> {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
try {
throw Throwable("OK", null)
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var t = Throwable("O", Throwable("K"))
if (t.message != "O" || t.cause?.message != "K") return "fail1"