Skip to content

Commit

Permalink
Fixes test regex for prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
calebwherry committed Oct 20, 2023
1 parent 8a9b645 commit ec8e4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wasm_test/tests/wasm.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("Test Amalgam Webassembly", () => {

test("get version", async () => {
// Test that GetVersionString returns valid semver value
const semverRegex = /^(\d+\.)(\d+\.)(\*|\d+)$/;
const semverRegex = /^(\d+\.)(\d+\.)(\d+)(.*)$/;
const getVersion = amlg.cwrap("GetVersionString", "string", []);
const version = getVersion();
expect(typeof version).toBe("string");
Expand Down

0 comments on commit ec8e4fe

Please sign in to comment.