Making argument forwarding tests run with dotnet test and removing the its special test scripts.
This commit is contained in:
parent
5c0eb19859
commit
64c17c5541
12 changed files with 36 additions and 119 deletions
27
test/ArgumentsReflector/Reflector.cs
Normal file
27
test/ArgumentsReflector/Reflector.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.DotNet.Tests.ArgumentForwarding
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
bool first=true;
|
||||
foreach (var arg in args)
|
||||
{
|
||||
if (first)
|
||||
{
|
||||
first=false;
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.Write(",");
|
||||
}
|
||||
Console.Write(arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue