Skip to content

Commit e8262d1

Browse files
authored
Merge pull request CosmosOS#950 from CosmosOS/structs-tests
Tests for structs
2 parents 455a3fe + 75e0c8b commit e8262d1

File tree

3 files changed

+299
-251
lines changed

3 files changed

+299
-251
lines changed

Tests/BoxingTests/Kernel.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected override void Run()
1717
{
1818
TestBoxingChar();
1919
TestBoxingInt();
20-
//TestBoxingColorToString();
20+
TestBoxingColorToString();
2121

2222
TestController.Completed();
2323
}
@@ -55,7 +55,7 @@ private void TestBoxingInt()
5555
private void TestBoxingColorToString()
5656
{
5757
object xColor = Color.Blue;
58-
Assert.IsTrue(xColor.ToString() == "Color[Blue]", "Color.ToString doesn't work on boxed Color!");
58+
Assert.IsTrue(xColor.ToString() == "Color [Blue]", "Color.ToString doesn't work on boxed Color!");
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)