Fix flag tests in src/test/modules/test_oat_hooks
commitf16180216d0a6dcefd76fef4121227b63df46681
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 13 Jul 2022 09:57:25 +0000 (13 11:57 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 13 Jul 2022 10:58:56 +0000 (13 12:58 +0200)
tree030311b9b8c4fd5e641431a7c43884ef1e6717e2
parent784cedda0604ee4ac731fd0b00cd8b27e78c02d3
Fix flag tests in src/test/modules/test_oat_hooks

In what must have been a copy'n paste mistake, all the flag tests use
the same flag rather than a different flag each.  The bug is not
suprising, considering that it's dead code; add a minimal, testimonial
line to cover it.

This is all pretty inconsequential, because this is just example code,
but it had better be correct.

Discussion: https://postgr.es/m/20220712152059.fwli2majwgzdmh4r@alvherre.pgsql
src/test/modules/test_oat_hooks/expected/test_oat_hooks.out
src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql
src/test/modules/test_oat_hooks/test_oat_hooks.c