Skip to content

Commit

Permalink
fix: fix test-bindings-proj
Browse files Browse the repository at this point in the history
  • Loading branch information
teamplayer3 committed Dec 19, 2024
1 parent 5b971d5 commit e0eea3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions postcard-bindgen/test-bindings-proj/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const b = deserialize("B", bytes)
console.log(b)

// test namespaces
const bytes_b_b = serialize("b.B", [2323]);
console.log(bytes_b_b)
const b_b = deserialize("b.B", bytes_b_b)
console.log(b_b)
const bytes_e_e = serialize("e.E", [234, [21]]);
console.log(bytes_e_e)
const e_e = deserialize("e.E", bytes_e_e)
console.log(e_e)

const bytes_file = `${process.cwd()}/../serialized.bytes`
const loaded_bytes = readFileSync(bytes_file)
Expand Down

0 comments on commit e0eea3e

Please sign in to comment.