From ad75d5c41db91b1c63a1cdd5664775a52472a9b1 Mon Sep 17 00:00:00 2001 From: Stepami Date: Sun, 3 Nov 2024 15:05:41 +0300 Subject: [PATCH] =?UTF-8?q?#55=20-=20=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20=D1=82=D0=B5=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ErrorPrograms/VoidAssignmentTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/HydraScript.IntegrationTests/ErrorPrograms/VoidAssignmentTests.cs b/tests/HydraScript.IntegrationTests/ErrorPrograms/VoidAssignmentTests.cs index 481a864..43af6a1 100644 --- a/tests/HydraScript.IntegrationTests/ErrorPrograms/VoidAssignmentTests.cs +++ b/tests/HydraScript.IntegrationTests/ErrorPrograms/VoidAssignmentTests.cs @@ -20,5 +20,7 @@ function func(b: boolean) { services => services.SetupInMemoryScript(script)); var code = runner.Invoke(fixture.InMemoryScript); code.Should().Be(ExitCodes.HydraScriptError); + fixture.LogMessages.Should() + .Contain(x => x.Contains("Cannot assign void")); } } \ No newline at end of file