<commit_before>/*
 * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
 * that can be found in the LICENSE file.
 */

package test

import kotlin.test.*

public actual fun assertTypeEquals(expected: Any?, actual: Any?) {
    if (expected != null && actual != null) {
        assertEquals(expected::class, actual::class)
    } else {
        assertTrue(expected == null && actual == null)
    }
}

internal actual fun String.removeLeadingPlusOnJava6(): String = this<commit_msg>Fix assertTypeEquals to check subtypes<commit_after>/*
 * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
 * that can be found in the LICENSE file.
 */

package test

import kotlin.test.*

public actual fun assertTypeEquals(expected: Any?, actual: Any?) {
    if (expected != null && actual != null) {
        assertTrue(expected::class.isInstance(actual) || actual::class.isInstance(expected),
                "Expected: $expected,  Actual: $actual")
    } else {
        assertTrue(expected == null && actual == null)
    }
}

internal actual fun String.removeLeadingPlusOnJava6(): String = this
{'fraction_non_alphanumeric': 0.11328790459965929, 'fraction_numerical': 0.018739352640545145, 'mean_word_length': 3.5366795366795367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5991672', 'n_tokens_mistral': 345, 'n_tokens_neox': 329, 'n_words': 115}