fix: use Eq in subtype casing test

Created by  Jengamon  on February 22, 2024
JXEK5JUJZ5FI7AD4RLHLXUNT6S3WPRYODJ2AEX27BX6NOWXMCGGQC
Change contents