You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My editor was reformatting them by default, rather than configure the settings of my eslint extension, I thought we should apply the same linting rules the tests as our other code.
@@ -150,7 +150,7 @@ describe("Running the code with skulpt", () => {
150
150
151
151
it("runs a simple turtle program",()=>{
152
152
runCode(
153
-
"import turtle\nskk = turtle.Turtle()\nfor i in range(4):\n\tskk.forward(50)\n\tskk.left(90)\nturtle.done()"
153
+
"import turtle\nskk = turtle.Turtle()\nfor i in range(4):\n\tskk.forward(50)\n\tskk.left(90)\nturtle.done()",
154
154
);
155
155
cy.get("editor-wc")
156
156
.shadow()
@@ -172,7 +172,7 @@ describe("Running the code with skulpt", () => {
172
172
.find(".error-message__content")
173
173
.should(
174
174
"contain.text",
175
-
"ImportError: No module named matplotlib on line 2 of main.py. You should check your code for typos. If you are using p5, py5, sense_hat or turtle, matplotlib might not work - read this article for more information."
175
+
"ImportError: No module named matplotlib on line 2 of main.py. You should check your code for typos. If you are using p5, py5, sense_hat or turtle, matplotlib might not work - read this article for more information.",
0 commit comments