Skip to content

Commit 55a96d9

Browse files
committed
Adjusting tests, removing others non relevant
1 parent 5b263bd commit 55a96d9

File tree

4 files changed

+5
-111
lines changed

4 files changed

+5
-111
lines changed

Tests/NFUnitTestArray/UnitTestSimpleTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3402,7 +3402,8 @@ public static int ElementTaker(ref int val)
34023402
public static int Main_old()
34033403
{
34043404
int[] arr = new int[5] { 1, 2, 3, 4, 5 };
3405-
Debug.WriteLine(ElementTaker(ref arr[2]).ToString());
3405+
var ret = ElementTaker(ref arr[2]).ToString();
3406+
Debug.WriteLine(ret);
34063407
if (arr[2] != 8)
34073408
return 1;
34083409
return 0;
@@ -3423,7 +3424,8 @@ public static int ElementTaker(out int val)
34233424
public static int Main_old()
34243425
{
34253426
int[] arr = new int[5] { 1, 2, 3, 4, 5 };
3426-
Debug.WriteLine(ElementTaker(out arr[2]).ToString());
3427+
var ret = ElementTaker(out arr[2]).ToString();
3428+
Debug.WriteLine(ret);
34273429
if (arr[2] != 5)
34283430
return 1;
34293431
return 0;

Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<ItemGroup>
3030
<Compile Include="UnitTestAttributesTest1.cs" />
3131
<Compile Include="Properties\AssemblyInfo.cs" />
32-
<Compile Include="UnitTestAttributesTest2.cs" />
3332
</ItemGroup>
3433
<ItemGroup>
3534
<ProjectReference Include="..\..\nanoFramework.CoreLibrary\CoreLibrary.nfproj" />

Tests/NFUnitTestAttributes/UnitTestAttributesTest2.cs

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)