diff --git a/test/unit/@node-red/runtime/lib/index_spec.js b/test/unit/@node-red/runtime/lib/index_spec.js index 81361c8ae..3fa0a151e 100644 --- a/test/unit/@node-red/runtime/lib/index_spec.js +++ b/test/unit/@node-red/runtime/lib/index_spec.js @@ -78,7 +78,7 @@ describe("runtime", function() { it("returns version", function() { runtime.init({testSettings: true, httpAdminRoot:"/"},mockUtil()); return runtime.version().then(version => { - /^\d+\.\d+\.\d+(-git)?$/.test(version).should.be.true(); + /^\d+\.\d+\.\d+(-.*)?$/.test(version).should.be.true(); });