From e63100b4a91fa0d6a7388523665d2d4aabf8bb34 Mon Sep 17 00:00:00 2001 From: Tamim Attafi Date: Tue, 4 Jun 2024 01:02:20 +0700 Subject: [PATCH] test: fix incorrect test assert --- .../com/attafitamim/kabin/compiler/TestQueryIdentifiers.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/compiler/src/jvmTest/kotlin/com/attafitamim/kabin/compiler/TestQueryIdentifiers.kt b/library/compiler/src/jvmTest/kotlin/com/attafitamim/kabin/compiler/TestQueryIdentifiers.kt index 841ace6..b0442be 100644 --- a/library/compiler/src/jvmTest/kotlin/com/attafitamim/kabin/compiler/TestQueryIdentifiers.kt +++ b/library/compiler/src/jvmTest/kotlin/com/attafitamim/kabin/compiler/TestQueryIdentifiers.kt @@ -27,7 +27,7 @@ class TestQueryIdentifiers { IntRange(0, MAX_CYCLES).forEach { index -> val queryIdentifier = fixedQuery.getUniqueQueryIdentifier() - Assert.assertNull( + Assert.assertNotNull( "$index - Couldn't find a unique query identifier for fixed query $fixedQuery", queryIdentifier )