Skip to content

Commit e577fb6

Browse files
committed
C#: Add integration test for dotnet dotnet.
1 parent 8768b9e commit e577fb6

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ def check_build_out(msg, s):
5858
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test8-db', 'dotnet run "hello world part1" part2'], "test9-db")
5959
check_build_out("hello world part1, part2", s)
6060
check_diagnostics(test_db="test9-db")
61+
62+
# two arguments, no '--' (second argument quoted) and using dotnet to execute dotnet
63+
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test9-db', 'dotnet dotnet run part1 "hello world part2"'], "test10-db")
64+
check_build_out("part1, hello world part2", s)
65+
check_diagnostics(test_db="test10-db")

0 commit comments

Comments
 (0)