Skip to content

Commit 14c96cb

Browse files
committed
Code review and fix SQLite
1 parent 75b615d commit 14c96cb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH1180/FixtureByCode.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace NHibernate.Test.NHSpecificTest.GH1180
1717
{
1818
using System.Threading.Tasks;
19-
//NH-3847 (GH-1180)
19+
//NH-3847
2020
[TestFixture]
2121
public class ByCodeFixtureAsync : TestCaseMappingByCode
2222
{
@@ -101,9 +101,9 @@ public async Task DecimalTypesAsync()
101101
using (var session = OpenSession())
102102
using (var transaction = session.BeginTransaction())
103103
{
104-
await (session.SaveAsync(new Entity {Amount = 3.141m}));
105-
await (session.SaveAsync(new Entity {Amount = 42.131m}));
106-
await (session.SaveAsync(new Entity {Amount = 17.991m}));
104+
await (session.SaveAsync(new Entity {Amount = 3.14m}));
105+
await (session.SaveAsync(new Entity {Amount = 42.13m}));
106+
await (session.SaveAsync(new Entity {Amount = 17.99m}));
107107

108108
await (transaction.CommitAsync());
109109
}

src/NHibernate.Test/NHSpecificTest/GH1180/FixtureByCode.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace NHibernate.Test.NHSpecificTest.GH1180
77
{
8-
//NH-3847 (GH-1180)
8+
//NH-3847
99
[TestFixture]
1010
public class ByCodeFixture : TestCaseMappingByCode
1111
{
@@ -90,9 +90,9 @@ public void DecimalTypes()
9090
using (var session = OpenSession())
9191
using (var transaction = session.BeginTransaction())
9292
{
93-
session.Save(new Entity {Amount = 3.141m});
94-
session.Save(new Entity {Amount = 42.131m});
95-
session.Save(new Entity {Amount = 17.991m});
93+
session.Save(new Entity {Amount = 3.14m});
94+
session.Save(new Entity {Amount = 42.13m});
95+
session.Save(new Entity {Amount = 17.99m});
9696

9797
transaction.Commit();
9898
}

0 commit comments

Comments
 (0)