Permalink
Browse files

Replace Contains by IndexOf to build on .NET 1.1

SVN: trunk@2119
  • Loading branch information...
1 parent 356577f commit d8b1d5ef716b5692aa79b3e8aae173cdcc53004f Sergey Koshcheyev committed May 30, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/NHibernate.Test/MappingExceptions/AddResourceFixture.cs
@@ -64,7 +64,7 @@ public void AddInvalidXml()
}
catch( MappingException me )
{
- Assert.IsTrue( me.Message.Contains( resource + errorPosition ) );
+ Assert.IsTrue( me.Message.IndexOf( resource + errorPosition ) >= 0 );
}
}
}

0 comments on commit d8b1d5e

Please sign in to comment.