Skip to content

Commit

Permalink
fix error log string and quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Jul 26, 2024
1 parent cf61d01 commit 277c736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/javascript/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test("does parse data", async (t) => {
t.is(result, "DATA INSIDE\n");
});

test("does broke gracefully", async (t) => {
test("does break gracefully", async (t) => {
try {
await zenroom_exec(`broken sapokdao`);
} catch (e) {
Expand Down
4 changes: 2 additions & 2 deletions lib/lua54/src/lobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) {


#define RETS "..."
#define PRE "[string \""
#define POS "\"]"
#define PRE "[source '"
#define POS "']"

#define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) )

Expand Down

0 comments on commit 277c736

Please sign in to comment.