Skip to content

Commit 7bcaa49

Browse files
committed
C#: Add integration test with quoted arguments.
1 parent 6fe9b70 commit 7bcaa49

File tree

1 file changed

+6
-0
lines changed
  • csharp/ql/integration-tests/all-platforms/dotnet_run

1 file changed

+6
-0
lines changed

csharp/ql/integration-tests/all-platforms/dotnet_run/test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ def check_build_out(msg, s):
5353
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test7-db', 'dotnet build', 'dotnet run --no-build hello world'], "test8-db")
5454
check_build_out("hello, world", s)
5555
check_diagnostics(test_db="test8-db")
56+
57+
58+
# two arguments, no '--' (first argument quoted)
59+
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test8-db', 'dotnet run "hello world part1" part2'], "test9-db")
60+
check_build_out("hello world part1, part2", s)
61+
check_diagnostics(test_db="test9-db")

0 commit comments

Comments
 (0)