Skip to content

Commit

Permalink
[test](Nereids): add assert debug log for TopnToMaxTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener committed Dec 20, 2023
1 parent 2a81d23 commit 149ff27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ suite("test_topn_to_max") {
from test_topn_to_max
group by k1;
'''
assertTrue(res.toString().contains("max"))
assertTrue(res.toString().contains("max"), res.toString() + " should contain max")

order_qt_sql '''
select topn(k2, 1)
Expand All @@ -45,5 +45,5 @@ suite("test_topn_to_max") {
explain rewritten plan select topn(k2, 1)
from test_topn_to_max;
'''
assertTrue(res.toString().contains("max"))
assertTrue(res.toString().contains("max"), res.toString() + " should contain max")
}

0 comments on commit 149ff27

Please sign in to comment.