use super::RULE;
#[test]
fn fix_simple_case() {
let code = r#""key" in ($record | columns)"#;
RULE.assert_fixed_contains(code, "$record has \"key\"");
}
#[test]
fn fix_with_variable_key() {
let code = r#"$key in ($record | columns)"#;
RULE.assert_fixed_contains(code, "$record has $key");
}