Skip to content
Browse files

Rank 1 arrays need to be vectors types, not multidimensional types

  • Loading branch information...
1 parent fa27a4f commit 8b97cffb829a80455da4531722e73aadfdd9e2f9 @flaub committed Mar 3, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/DotWeb.Hosting.Test/HostingWeaverTest.cs
View
4 test/DotWeb.Hosting.Test/HostingWeaverTest.cs
@@ -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);

0 comments on commit 8b97cff

Please sign in to comment.
Something went wrong with that request. Please try again.