Skip to content

Commit e35ff78

Browse files
fix typo
1 parent 47aeefc commit e35ff78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ktorm-ksp-compiler/src/main/kotlin/org/ktorm/ksp/compiler/parser/MetadataParser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ internal class MetadataParser(resolver: Resolver, environment: SymbolProcessorEn
8585

8686
if (cls.classKind == INTERFACE && !cls.isSubclassOf<Entity<*>>()) {
8787
val name = cls.qualifiedName!!.asString()
88-
throw IllegalStateException("$name must extends from org.ktorm.entity.Entity.")
88+
throw IllegalStateException("$name must extend from org.ktorm.entity.Entity.")
8989
}
9090

9191
_logger.info("[ktorm-ksp-compiler] parse table metadata from entity: ${cls.qualifiedName!!.asString()}")

ktorm-ksp-compiler/src/test/kotlin/org/ktorm/ksp/compiler/parser/MetadataParserTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MetadataParserTest : BaseKspTest() {
1515
""".trimIndent())
1616

1717
@Test
18-
fun testInterfaceNotExtendingEntity() = kspFailing("User must extends from org.ktorm.entity.Entity.", """
18+
fun testInterfaceNotExtendingEntity() = kspFailing("User must extend from org.ktorm.entity.Entity.", """
1919
@Table
2020
interface User {
2121
val id: Int

0 commit comments

Comments
 (0)