Skip to content

Commit 0bf8e4b

Browse files
committed
Adjust test to a new logic
1 parent 6c32d00 commit 0bf8e4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NHibernate.Test/DialectTest/DB2DialectFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void GetLimitString()
2626

2727
SqlString limited = dialect.GetLimitString(sql, new SqlString("111"), new SqlString("222"));
2828
Assert.AreEqual(
29-
"select * from (select rownumber() over(order by a, x) as rownum, a, b, c from d where X = ? and Z = ? order by a, x) as tempresult where rownum between 111+1 and 222",
29+
"select a,b,c from (select rownumber() over(order by a, x) as rownum, a, b, c from d where X = ? and Z = ? order by a, x) as tempresult where rownum between 111+1 and 222",
3030
limited.ToString());
3131
Assert.AreEqual(2, limited.GetParameterCount());
3232
}
@@ -58,4 +58,4 @@ public void GetLimitString_NoOffsetSpecified_UsesFetchFirstOnly()
5858
Assert.AreEqual(2, limited.GetParameterCount());
5959
}
6060
}
61-
}
61+
}

0 commit comments

Comments
 (0)