From 3a03485d0d9dc617b7595bb7cdd0801686c11fb8 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 3 Feb 2019 22:21:03 -0500 Subject: [PATCH] fix tests --- package.json | 2 +- test/js/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 87725ebc4f..4868803490 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "3.0.0-beta.1", + "version": "3.0.0-beta.2", "description": "The magical disappearing UI framework", "module": "index.mjs", "main": "index", diff --git a/test/js/index.js b/test/js/index.js index 715a43a470..d6cb71e416 100644 --- a/test/js/index.js +++ b/test/js/index.js @@ -27,7 +27,7 @@ describe("js", () => { shared: true }); - actual = svelte.compile(input, options).js.code.replace(/generated by Svelte v\d+\.\d+\.\d+(-\w+)?/, 'generated by Svelte vX.Y.Z'); + actual = svelte.compile(input, options).js.code.replace(/generated by Svelte v\d+\.\d+\.\d+(-\w+\.\d+)?/, 'generated by Svelte vX.Y.Z'); } catch (err) { console.log(err.frame); throw err;