Skip to content

Commit

Permalink
Fix tests on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Feb 21, 2024
1 parent c73c7d8 commit dfdb0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Irony.Tests/EvaluatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void TestEvaluator_BuiltIns() {
script = @"print(format('{0} * {1} = {2}', 3, 4, 3 * 4))";
eval.Evaluate(script);
result = eval.GetOutput();
Assert.AreEqual("3 * 4 = 12\r\n", result, "Unexpected computation result");
Assert.AreEqual("3 * 4 = 12" + Environment.NewLine, result, "Unexpected computation result");

//Add custom built-in method SayHello and test it
eval.Runtime.BuiltIns.AddMethod(SayHello, "SayHello", 1, 1, "name");
Expand Down

0 comments on commit dfdb0cc

Please sign in to comment.