diff --git a/plugins/editorconfig/test/org/editorconfig/language/EditorConfigTestingUtils.kt b/plugins/editorconfig/test/org/editorconfig/language/EditorConfigTestingUtils.kt index 04596a49c849..5f682a3cec42 100644 --- a/plugins/editorconfig/test/org/editorconfig/language/EditorConfigTestingUtils.kt +++ b/plugins/editorconfig/test/org/editorconfig/language/EditorConfigTestingUtils.kt @@ -1,9 +1,8 @@ -// Copyright 2000-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. +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.editorconfig.language -import junit.framework.TestCase.assertTrue +import org.junit.Assert internal fun assertIterableEquals(first: Iterable, second: Iterable) { - assertTrue(first.all(second::contains)) - assertTrue(second.all(first::contains)) + Assert.assertEquals(first.toSet(), second.toSet()) }