Skip to content

Commit 855401c

Browse files
committed
no difference w/ wasm golden
1 parent 552e9ad commit 855401c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/tools/schema2kotlin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ ${this.opts.wasm ? `
309309
}
310310
311311
class ${name}_Spec() : ${this.getType('EntitySpec')}<${name}> {
312-
313312
${this.opts.wasm ? '' : `\
313+
314314
companion object {
315315
val schema = ${this.leftPad(this.createSchema(schemaHash), 12, true)}
316316

src/tools/tests/goldens/generated-schemas.wasm.kt

-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class GoldInternal1() : WasmEntity {
6868

6969
class GoldInternal1_Spec() : WasmEntitySpec<GoldInternal1> {
7070

71-
7271
override fun create() = GoldInternal1()
7372

7473

@@ -204,7 +203,6 @@ class Gold_Data() : WasmEntity {
204203

205204
class Gold_Data_Spec() : WasmEntitySpec<Gold_Data> {
206205

207-
208206
override fun create() = Gold_Data()
209207

210208

0 commit comments

Comments
 (0)