tests for cache taking multiple input files
This commit is contained in:
parent
ed1ca04f51
commit
e40435920d
7 changed files with 119 additions and 18 deletions
24
TestAssets/TestProjects/MultiDependentProject/Program.cs
Normal file
24
TestAssets/TestProjects/MultiDependentProject/Program.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
// 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;
|
||||
using System.Collections;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using FluentAssertions;
|
||||
|
||||
class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
ArrayList argList = new ArrayList(args);
|
||||
JObject jObject = new JObject();
|
||||
|
||||
foreach (string arg in argList)
|
||||
{
|
||||
jObject[arg] = arg;
|
||||
}
|
||||
|
||||
jObject.Count.Should().Be(0);
|
||||
Console.WriteLine(jObject.ToString());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue