diff --git a/.travis.yml b/.travis.yml index 53da1b1..0b84194 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ os: env: matrix: - - ELM_VERSION=0.19.0-no-deps + - ELM_VERSION=0.19.1-3 before_install: - rm -rf ~/.elm diff --git a/appveyor.yml b/appveyor.yml index 52537ac..767a2f1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ environment: - ELM_VERSION: "0.19.0-bugfix6" + ELM_VERSION: "0.19.1-3" matrix: - nodejs_version: "12.0" - nodejs_version: "10.0" diff --git a/examples/elm.json b/examples/elm.json index a587ae1..dddfda2 100644 --- a/examples/elm.json +++ b/examples/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "." ], - "elm-version": "0.19.0", + "elm-version": "0.19.1", "dependencies": { "direct": { "elm/browser": "1.0.0", diff --git a/test/compile.ts b/test/compile.ts index 5b446a1..61672fc 100644 --- a/test/compile.ts +++ b/test/compile.ts @@ -73,7 +73,7 @@ describe("#compileToString", function () { expect(err).to.be.an('error'); expect(String(err)) .to.contain("Compilation failed") - .and.contain("PARSE ERROR"); + .and.contain("MISSING EXPRESSION"); }); }); diff --git a/test/fixtures/Bad.elm b/test/fixtures/Bad.elm index 3934ce7..3b54a56 100644 --- a/test/fixtures/Bad.elm +++ b/test/fixtures/Bad.elm @@ -1,4 +1,4 @@ -module Bad +module Bad exposing (..) main = diff --git a/test/fixtures/SimplestMain.elm b/test/fixtures/SimplestMain.elm index 771e409..54fc33f 100644 --- a/test/fixtures/SimplestMain.elm +++ b/test/fixtures/SimplestMain.elm @@ -1,4 +1,7 @@ +module SimplestMain exposing (..) + import Html + main = Html.text "Hello, World!" diff --git a/test/fixtures/elm.json b/test/fixtures/elm.json index ce36fa3..d47ac2e 100644 --- a/test/fixtures/elm.json +++ b/test/fixtures/elm.json @@ -3,7 +3,7 @@ "source-directories": [ "." ], - "elm-version": "0.19.0", + "elm-version": "0.19.1", "dependencies": { "direct": { "elm/browser": "1.0.0",