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

Commit f5d6035

Browse files
committed
Fix PostgreSQL test
1 parent 8d80436 commit f5d6035

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ServiceStack.OrmLite.Tests/Expression/SqlExpressionTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,12 +672,12 @@ public void Can_select_subselect()
672672
.Where(x => x.Letter == "C")
673673
.Select(x => new {
674674
x,
675-
LetterCount = Sql.Custom($"({subSql})"),
675+
count = Sql.Custom($"({subSql})"),
676676
}));
677677

678-
// rows.PrintDump();
678+
rows.PrintDump();
679679
Assert.That(rows.Count, Is.EqualTo(3));
680-
Assert.That(rows.All(x => x["LetterCount"].ConvertTo<int>() == 3));
680+
Assert.That(rows.All(x => x["count"].ConvertTo<int>() == 3));
681681
}
682682
}
683683
}

0 commit comments

Comments
 (0)