Skip to content

Commit 1c64dd2

Browse files
committed
Fix casing for column name
1 parent f60eaa4 commit 1c64dd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NHibernate.Test/Async/Legacy/FooBarTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public async Task QueryAsync()
476476
{
477477
await (s.CreateQuery("from foo in class Foo where lower( foo.TheFoo.String ) = 'foo'").ListAsync());
478478
await (s.CreateQuery("from foo in class Foo where lower( (foo.TheFoo.String || 'foo') || 'bar' ) = 'foo'").ListAsync());
479-
await (s.CreateQuery("from foo in class Foo where repeat( (foo.TheFoo.STring || 'foo') || 'bar', 2 ) = 'foo'").ListAsync());
479+
await (s.CreateQuery("from foo in class Foo where repeat( (foo.TheFoo.String || 'foo') || 'bar', 2 ) = 'foo'").ListAsync());
480480
await (s.CreateQuery(
481481
"From foo in class Bar where foo.TheFoo.Integer is not null and repeat( (foo.TheFoo.String || 'foo') || 'bar', (5+5)/2 ) = 'foo'")
482482
.ListAsync());

src/NHibernate.Test/Legacy/FooBarTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public void Query()
464464
{
465465
s.CreateQuery("from foo in class Foo where lower( foo.TheFoo.String ) = 'foo'").List();
466466
s.CreateQuery("from foo in class Foo where lower( (foo.TheFoo.String || 'foo') || 'bar' ) = 'foo'").List();
467-
s.CreateQuery("from foo in class Foo where repeat( (foo.TheFoo.STring || 'foo') || 'bar', 2 ) = 'foo'").List();
467+
s.CreateQuery("from foo in class Foo where repeat( (foo.TheFoo.String || 'foo') || 'bar', 2 ) = 'foo'").List();
468468
s.CreateQuery(
469469
"From foo in class Bar where foo.TheFoo.Integer is not null and repeat( (foo.TheFoo.String || 'foo') || 'bar', (5+5)/2 ) = 'foo'")
470470
.List();

0 commit comments

Comments
 (0)