diff --git a/src/patchbay.cpp b/src/patchbay.cpp index 8c6f9ae..449cd5c 100644 --- a/src/patchbay.cpp +++ b/src/patchbay.cpp @@ -68,7 +68,7 @@ namespace vencord if (state == PA_CONTEXT_FAILED) { // NOLINTNEXTLINE - fprintf(stderr, "[venmic] Failed to connext pulse context\n"); + fprintf(stderr, "[venmic] Failed to connect pulse context\n"); pa_mainloop_quit(loop, 0); return; diff --git a/tests/node/api.test.js b/tests/node/api.test.js index 2313fa6..8fcfb86 100644 --- a/tests/node/api.test.js +++ b/tests/node/api.test.js @@ -17,5 +17,5 @@ try catch (error) { console.warn("No PipeWire Server available"); - assert.throws(() => new venmic.PatchBay(), /failed to create patchbay instance/ig); + assert.throws(() => new venmic.PatchBay(), /failed to .* (pulse|patchbay)/ig); }