<blockquote>
<p>Nice tests. Do you mind adding them as an additional test to osm2pgsql directly with this PR? You can use <code>tests/test-output-pgsql-z_order.cpp</code> as an example.</p>
</blockquote>
<p>I've added some tests too. I didn't see an existing way to test for null integer responses, so I used string comparison with an empty string instead.</p>
<p>Let's see how the CI gets on!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/956?email_source=notifications&email_token=AA6353TFAQQYOOPEAFU22BLQMRVBTA5CNFSM4I3YC4KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEGHZQ#issuecomment-537420774">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RSKMNNQGH2B6HP7PTQMRVBTANCNFSM4I3YC4KA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AA6353TFR2DXPXYYDJS3MQ3QMRVBTA5CNFSM4I3YC4KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEGHZQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/956?email_source=notifications\u0026email_token=AA6353TFAQQYOOPEAFU22BLQMRVBTA5CNFSM4I3YC4KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEGHZQ#issuecomment-537420774",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/956?email_source=notifications\u0026email_token=AA6353TFAQQYOOPEAFU22BLQMRVBTA5CNFSM4I3YC4KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAEGHZQ#issuecomment-537420774",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>