mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 09:06:41 +02:00
Use var instead of let for variables
This commit is contained in:
@@ -68,7 +68,7 @@ public class ProcessingStatementsTests
|
||||
List<string> lines =
|
||||
[
|
||||
"sleep 5",
|
||||
"let result = ok",
|
||||
"var result = ok",
|
||||
"${result}"
|
||||
];
|
||||
|
||||
@@ -81,7 +81,7 @@ public class ProcessingStatementsTests
|
||||
List<string> lines =
|
||||
[
|
||||
"length hello",
|
||||
"let value = %out",
|
||||
"var value = %out",
|
||||
"${value}"
|
||||
];
|
||||
|
||||
@@ -95,7 +95,7 @@ public class ProcessingStatementsTests
|
||||
|
||||
try
|
||||
{
|
||||
File.WriteAllText(tempFile, "let imported = yes");
|
||||
File.WriteAllText(tempFile, "var imported = yes");
|
||||
|
||||
List<string> lines =
|
||||
[
|
||||
@@ -139,3 +139,4 @@ public class ProcessingStatementsTests
|
||||
YesNtAssert.IsLastLineEqual(lines, "1", timeout: 3000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user