Progmasoft Git

tazel

A build system for C, C++, Objective-C, Objective-C++ and Zig, with C# project files.

Clonegit clone https://git.progmasoft.com/tazel

Give the E0305 case of TextFileErrorTests a command after it

A missing ';' at the end of the file is allowed since the last entry may
leave it out, so the case puts a second command after the first.
Commit
75553ff1825d3501d5c11d6cc927b17081029372
Author
Leitwolf11 ·
Parents
51c06c79805b

Files · Download .tar.gz

Changes

 tests/Progmasoft.Tazel.Tests/TextFileErrorTests.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Progmasoft.Tazel.Tests/TextFileErrorTests.cs b/tests/Progmasoft.Tazel.Tests/TextFileErrorTests.cs
index b8b3114..ef38d29 100644
--- a/tests/Progmasoft.Tazel.Tests/TextFileErrorTests.cs
+++ b/tests/Progmasoft.Tazel.Tests/TextFileErrorTests.cs
@@ -91,7 +91,7 @@ public sealed class TextFileErrorTests
     [InlineData("build ('tazel' 'build');", "E0306")]
     [InlineData("build: 'tazel' 'build');", "E0307")]
     [InlineData("build: ('tazel' 'build';", "E0308")]
-    [InlineData("build: ('tazel' 'build')", "E0305")]
+    [InlineData("build: ('tazel' 'build') test: ('tazel');", "E0305")]
     [InlineData("build: ;", "E0307")]
     [InlineData("('x');", "E0309")]
     [InlineData("build: (", "E0308")]