Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 8fbafda

Browse files
author
KevinHoward
committed
Cleaned up a few warnings
1 parent af583d5 commit 8fbafda

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ServiceStack.OrmLite.SqlServerTests/Expressions/AuthorUseCase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ public void AuthorUsesCases()
304304
bool r6 = db.Scalar<Author, bool>(e => Sql.Max(e.Active));
305305
Assert.AreEqual(expectedBool, r6);
306306
}
307-
catch (Exception e)
307+
catch //(Exception e)
308308
{
309309
//????
310310
//if (dialect.Name == "PostgreSQL")

src/ServiceStack.OrmLite.SqlServerTests/SchemaTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void Can_replace_decimal_column()
6565
{
6666
db.DropAndCreateTable<TestDecimalConverter>();
6767

68-
Assert.That(db.GetLastSql(), Is.StringContaining("FLOAT"));
68+
Assert.That(db.GetLastSql(), Does.Contain("FLOAT"));
6969
}
7070
}
7171

src/ServiceStack.OrmLite.SqlServerTests/SqlServerExpressionVisitorQueryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace ServiceStack.OrmLite.SqlServerTests
1313
public class SqlServerExpressionVisitorQueryTest : OrmLiteTestBase
1414
{
1515
[OneTimeSetUp]
16-
public void TestFixtureSetUp()
16+
public override void TestFixtureSetUp()
1717
{
1818
OrmLiteConfig.SanitizeFieldNameForParamNameFn = s =>
1919
(s ?? "").Replace(" ", "").Replace("°", "");

0 commit comments

Comments
 (0)