Skip to content

Commit

Permalink
Rank 1 arrays need to be vectors types, not multidimensional types
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Laub committed Mar 3, 2010
1 parent fa27a4f commit 8b97cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/DotWeb.Hosting.Test/HostingWeaverTest.cs
Expand Up @@ -208,11 +208,11 @@ class HostHarness : IDotWebHost

var field = type.GetField("fieldArray");
Assert.IsNotNull(field);
Assert.AreEqual("System.Int32[*]", field.FieldType.ToString());
Assert.AreEqual("System.Int32[]", field.FieldType.ToString());

var property = type.GetProperty("PropertyArray");
Assert.IsNotNull(property);
Assert.AreEqual("System.String[*]", property.PropertyType.ToString());
Assert.AreEqual("System.String[]", property.PropertyType.ToString());

var typeArray = type.GetField("typeArray");
Assert.IsNotNull(typeArray);
Expand Down

0 comments on commit 8b97cff

Please sign in to comment.