Revert "conditional branch by triary operator"

This reverts commit 6b6f2f3173bf322f3d7857561805bdd24a9b0dd5.
add another test