Skip to content

Commit

Permalink
test: rename var that was causing false positive devskim lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Oct 29, 2024
1 parent aa8b99e commit dfc1f98
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,15 +762,16 @@ fn enum_apply_calconv_issue1458() {

wrk.create("enum.csv", got);

let mut cmd2 = wrk.command("apply");
cmd2.arg("calcconv")
let mut cmd_2 = wrk.command("apply");
cmd_2
.arg("calcconv")
.arg("--formatstr")
.arg("{index} * {index}")
.arg("-c")
.arg("result")
.arg("enum.csv");

let got2: Vec<Vec<String>> = wrk.read_stdout(&mut cmd2);
let got2: Vec<Vec<String>> = wrk.read_stdout(&mut cmd_2);
let expected2 = vec![
svec!["FirstName", "MI", "LastName", "index", "result"],
svec!["Adam", "B", "Case", "0", "0"],
Expand Down

0 comments on commit dfc1f98

Please sign in to comment.