From dfc1f9855a89790901002bd52e3e045b20596f1f Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:16:15 -0400 Subject: [PATCH] test: rename var that was causing false positive devskim lint --- tests/test_apply.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_apply.rs b/tests/test_apply.rs index 7df293d11..7e7d90aa0 100644 --- a/tests/test_apply.rs +++ b/tests/test_apply.rs @@ -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> = wrk.read_stdout(&mut cmd2); + let got2: Vec> = wrk.read_stdout(&mut cmd_2); let expected2 = vec![ svec!["FirstName", "MI", "LastName", "index", "result"], svec!["Adam", "B", "Case", "0", "0"],