[Mono-dev] Is #693996 fixed? -- UriTemplate doesn't support named wildcards

Yuriy Solodkyy yuriy at couldbedone.com
Mon Aug 27 13:27:54 UTC 2012


Hi,

release notes for 2.10.3 [
http://www.mono-project.com/Release_Notes_Mono_2.10.3 ] says:

>> Fixed #693996 UriTemplate doesn't support named wildcards

However, the behavior of 2.10.8 is different than it is in .net.

See https://gist.github.com/3488351

These tests are green in .NET, but under the mono I get:

Test(s) failed.   Expected string length 3 but was 7. Strings differ at index 0.
  Expected: "123"
  But was:  "a/b/123"
  -----------^

  at NUnit.Framework.Assert.That (System.Object actual,
IResolveConstraint expression, System.String message, System.Object[]
args) [0x00000] in <filename unknown>:0
  at NUnit.Framework.Assert.AreEqual (System.Object expected,
System.Object actual) [0x00000] in <filename unknown>:0

Test(s) failed.   Expected string length 7 but was 11. Strings differ
at index 0.
  Expected: "123/456"
  But was:  "a/b/123/456"
  -----------^

  at NUnit.Framework.Assert.That (System.Object actual,
IResolveConstraint expression, System.String message, System.Object[]
args) [0x00000] in <filename unknown>:0
  at NUnit.Framework.Assert.AreEqual (System.Object expected,
System.Object actual) [0x00000] in <filename unknown>:0

Thank you

-- 
Yuriy Solodkyy
(y.solodkyy at gmail.com)


More information about the Mono-devel-list mailing list