# will produce lints
lint(
text = 'expect_equal(typeof(x), "double")',
linters = expect_type_linter()
)
lint(
text = 'expect_identical(typeof(x), "double")',
linters = expect_type_linter()
)
# okay
lint(
text = 'expect_type(x, "double")',
linters = expect_type_linter()
)
Run the code above in your browser using DataLab