From e4f3566892574f7450734202015709cd971e9f1d Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Wed, 10 Apr 2024 09:06:58 +0200 Subject: [PATCH] Update snapshots --- .../elm-review-something-for-new-rule/preview/elm.json | 2 +- .../elm-review-something-for-new-rule/review/elm.json | 4 ++-- test/run-snapshots/elm-review-something/preview/elm.json | 2 +- test/run-snapshots/elm-review-something/review/elm.json | 4 ++-- test/run-snapshots/init-project/review/elm.json | 2 +- test/run-snapshots/init-template-project/review/elm.json | 4 ++-- .../remote-configuration-with-unparsable-elmjson-json.txt | 2 +- .../remote-configuration-with-unparsable-elmjson-ndjson.txt | 2 +- .../remote-configuration-with-unparsable-elmjson.txt | 2 +- test/run-snapshots/remote-without-elm-review-json.txt | 4 ++-- test/run-snapshots/remote-without-elm-review-ndjson.txt | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/test/run-snapshots/elm-review-something-for-new-rule/preview/elm.json b/test/run-snapshots/elm-review-something-for-new-rule/preview/elm.json index 9ecb47b6d..57153a0b9 100644 --- a/test/run-snapshots/elm-review-something-for-new-rule/preview/elm.json +++ b/test/run-snapshots/elm-review-something-for-new-rule/preview/elm.json @@ -8,7 +8,7 @@ "dependencies": { "direct": { "elm/core": "1.0.5", - "jfmengels/elm-review": "2.13.1", + "jfmengels/elm-review": "2.13.2", "stil4m/elm-syntax": "7.3.2" }, "indirect": { diff --git a/test/run-snapshots/elm-review-something-for-new-rule/review/elm.json b/test/run-snapshots/elm-review-something-for-new-rule/review/elm.json index b48eeb0f3..184257f2c 100644 --- a/test/run-snapshots/elm-review-something-for-new-rule/review/elm.json +++ b/test/run-snapshots/elm-review-something-for-new-rule/review/elm.json @@ -9,14 +9,14 @@ "elm/core": "1.0.5", "elm/json": "1.1.3", "elm/project-metadata-utils": "1.0.2", - "jfmengels/elm-review": "2.13.1", + "jfmengels/elm-review": "2.13.2", "jfmengels/elm-review-code-style": "1.1.4", "jfmengels/elm-review-cognitive-complexity": "1.0.3", "jfmengels/elm-review-common": "1.3.3", "jfmengels/elm-review-debug": "1.0.8", "jfmengels/elm-review-documentation": "2.0.4", "jfmengels/elm-review-simplify": "2.1.4", - "jfmengels/elm-review-unused": "1.2.2", + "jfmengels/elm-review-unused": "1.2.3", "sparksp/elm-review-forbidden-words": "1.0.1", "stil4m/elm-syntax": "7.3.2" }, diff --git a/test/run-snapshots/elm-review-something/preview/elm.json b/test/run-snapshots/elm-review-something/preview/elm.json index 9ecb47b6d..57153a0b9 100644 --- a/test/run-snapshots/elm-review-something/preview/elm.json +++ b/test/run-snapshots/elm-review-something/preview/elm.json @@ -8,7 +8,7 @@ "dependencies": { "direct": { "elm/core": "1.0.5", - "jfmengels/elm-review": "2.13.1", + "jfmengels/elm-review": "2.13.2", "stil4m/elm-syntax": "7.3.2" }, "indirect": { diff --git a/test/run-snapshots/elm-review-something/review/elm.json b/test/run-snapshots/elm-review-something/review/elm.json index b48eeb0f3..184257f2c 100644 --- a/test/run-snapshots/elm-review-something/review/elm.json +++ b/test/run-snapshots/elm-review-something/review/elm.json @@ -9,14 +9,14 @@ "elm/core": "1.0.5", "elm/json": "1.1.3", "elm/project-metadata-utils": "1.0.2", - "jfmengels/elm-review": "2.13.1", + "jfmengels/elm-review": "2.13.2", "jfmengels/elm-review-code-style": "1.1.4", "jfmengels/elm-review-cognitive-complexity": "1.0.3", "jfmengels/elm-review-common": "1.3.3", "jfmengels/elm-review-debug": "1.0.8", "jfmengels/elm-review-documentation": "2.0.4", "jfmengels/elm-review-simplify": "2.1.4", - "jfmengels/elm-review-unused": "1.2.2", + "jfmengels/elm-review-unused": "1.2.3", "sparksp/elm-review-forbidden-words": "1.0.1", "stil4m/elm-syntax": "7.3.2" }, diff --git a/test/run-snapshots/init-project/review/elm.json b/test/run-snapshots/init-project/review/elm.json index a72a7a771..98bbbb38a 100644 --- a/test/run-snapshots/init-project/review/elm.json +++ b/test/run-snapshots/init-project/review/elm.json @@ -7,7 +7,7 @@ "dependencies": { "direct": { "elm/core": "1.0.5", - "jfmengels/elm-review": "2.13.1", + "jfmengels/elm-review": "2.13.2", "stil4m/elm-syntax": "7.3.2" }, "indirect": { diff --git a/test/run-snapshots/init-template-project/review/elm.json b/test/run-snapshots/init-template-project/review/elm.json index 5ded053ce..210d83cc7 100644 --- a/test/run-snapshots/init-template-project/review/elm.json +++ b/test/run-snapshots/init-template-project/review/elm.json @@ -8,8 +8,8 @@ "direct": { "elm/core": "1.0.5", "elm/project-metadata-utils": "1.0.2", - "jfmengels/elm-review": "2.13.1", - "jfmengels/elm-review-unused": "1.2.2", + "jfmengels/elm-review": "2.13.2", + "jfmengels/elm-review-unused": "1.2.3", "stil4m/elm-syntax": "7.3.2" }, "indirect": { diff --git a/test/run-snapshots/remote-configuration-with-unparsable-elmjson-json.txt b/test/run-snapshots/remote-configuration-with-unparsable-elmjson-json.txt index 28ba34404..42aa8c55d 100644 --- a/test/run-snapshots/remote-configuration-with-unparsable-elmjson-json.txt +++ b/test/run-snapshots/remote-configuration-with-unparsable-elmjson-json.txt @@ -3,6 +3,6 @@ "title": "TEMPLATE ELM.JSON PARSING ERROR", "path": "/test/project-with-errors/review/elm.json", "message": [ - "I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nUnexpected token / in JSON at position 137" + "I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nExpected property name or '}' in JSON at position 137" ] } diff --git a/test/run-snapshots/remote-configuration-with-unparsable-elmjson-ndjson.txt b/test/run-snapshots/remote-configuration-with-unparsable-elmjson-ndjson.txt index 28ba34404..42aa8c55d 100644 --- a/test/run-snapshots/remote-configuration-with-unparsable-elmjson-ndjson.txt +++ b/test/run-snapshots/remote-configuration-with-unparsable-elmjson-ndjson.txt @@ -3,6 +3,6 @@ "title": "TEMPLATE ELM.JSON PARSING ERROR", "path": "/test/project-with-errors/review/elm.json", "message": [ - "I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nUnexpected token / in JSON at position 137" + "I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nExpected property name or '}' in JSON at position 137" ] } diff --git a/test/run-snapshots/remote-configuration-with-unparsable-elmjson.txt b/test/run-snapshots/remote-configuration-with-unparsable-elmjson.txt index 80387436c..8de2d51b3 100644 --- a/test/run-snapshots/remote-configuration-with-unparsable-elmjson.txt +++ b/test/run-snapshots/remote-configuration-with-unparsable-elmjson.txt @@ -5,5 +5,5 @@ I found the elm.json associated with jfmengels/node-elm-review repository on GitHub, but I encountered a problem when parsing it: -Unexpected token / in JSON at position 137 +Expected property name or '}' in JSON at position 137 diff --git a/test/run-snapshots/remote-without-elm-review-json.txt b/test/run-snapshots/remote-without-elm-review-json.txt index edcd67c5c..55db68616 100644 --- a/test/run-snapshots/remote-without-elm-review-json.txt +++ b/test/run-snapshots/remote-without-elm-review-json.txt @@ -7,7 +7,7 @@ { "rule": "NoUnused.Variables", "message": "Imported variable `span` is not used", - "ruleLink": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables", + "ruleLink": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables", "details": [ "You should either use this value somewhere, or remove it at the location I pointed at." ], @@ -44,7 +44,7 @@ { "string": "NoUnused.Variables", "color": "#FF0000", - "href": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables" + "href": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables" }, ": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ", { diff --git a/test/run-snapshots/remote-without-elm-review-ndjson.txt b/test/run-snapshots/remote-without-elm-review-ndjson.txt index e5aa94f99..74926486b 100644 --- a/test/run-snapshots/remote-without-elm-review-ndjson.txt +++ b/test/run-snapshots/remote-without-elm-review-ndjson.txt @@ -1 +1 @@ -{"path":"src/Main.elm","rule":"NoUnused.Variables","message":"Imported variable `span` is not used","ruleLink":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables","details":["You should either use this value somewhere, or remove it at the location I pointed at."],"region":{"start":{"line":11,"column":11},"end":{"line":11,"column":15}},"fix":[{"range":{"start":{"line":9,"column":14},"end":{"line":11,"column":15}},"string":""}],"formatted":[{"string":"(fix) ","color":"#33BBC8"},{"string":"NoUnused.Variables","color":"#FF0000","href":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables"},": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ",{"string":"^^^^","color":"#FF0000"},"\n12| , text\n\nYou should either use this value somewhere, or remove it at the location I pointed at."],"suppressed":false,"originallySuppressed":false} +{"path":"src/Main.elm","rule":"NoUnused.Variables","message":"Imported variable `span` is not used","ruleLink":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables","details":["You should either use this value somewhere, or remove it at the location I pointed at."],"region":{"start":{"line":11,"column":11},"end":{"line":11,"column":15}},"fix":[{"range":{"start":{"line":9,"column":14},"end":{"line":11,"column":15}},"string":""}],"formatted":[{"string":"(fix) ","color":"#33BBC8"},{"string":"NoUnused.Variables","color":"#FF0000","href":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables"},": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ",{"string":"^^^^","color":"#FF0000"},"\n12| , text\n\nYou should either use this value somewhere, or remove it at the location I pointed at."],"suppressed":false,"originallySuppressed":false}