Skip to content

Commit

Permalink
Update deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie committed Oct 18, 2023
1 parent 0c6a30d commit 84f648b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion selene-lib/src/lints/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ pub fn test_lint_config_with_output<
fixed_code.as_str(),
fixed_diagnostics,
|new_code| {
println!("Fixer generated code:\n{}", new_code);
let fixed_ast = full_moon::parse(new_code).unwrap_or_else(|_| {
panic!(
"Fixer generated invalid code:\n\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
table.foreach({}, function(k, v) end)
-[MA] print(table.getn(x))
+[MA] print(#x)
-[MI] print(table.getn(x))
+[MI] print(#x)

table.foreach({}, 3)

0 comments on commit 84f648b

Please sign in to comment.