fix: unnecessary count() on RPC returning single

This commit is contained in:
steve-chavez
2023-10-19 15:54:22 -05:00
committed by Steve Chavez
parent 00f3cb3746
commit 54786a6c04
4 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ spec actualPgVersion = do
r <- request methodGet "/rpc/add_them?a=3&b=4"
[planHdr] ""
liftIO $ planCost r `shouldSatisfy` (< 1.18)
liftIO $ planCost r `shouldSatisfy` (< 0.11)
context "function inlining" $ do
it "should inline a zero argument function(the function won't appear in the plan tree)" $ do