transition expect_error()
for snowflake backend
#1547
Merged
expect_error()
for snowflake backend
#1547