Require usage of expect_type(x, type) over expect_equal(typeof(x), type)
expect_type(x, type)
expect_equal(typeof(x), type)
Useful links