Rename canonical_name to base_name

"Canonical" isn't really the right word here, update to "base".
This commit is contained in:
Trevor Gross
2024-10-30 13:45:53 -05:00
committed by Trevor Gross
parent 776db6e1cd
commit 5523607045
5 changed files with 27 additions and 26 deletions

View File

@@ -110,6 +110,7 @@ pub fn get_test_cases<RustArgs>(ctx: &CheckCtx) -> impl Iterator<Item = RustArgs
where
CachedInput: GenerateInput<RustArgs>,
{
let inputs = if ctx.fname == "jn" || ctx.fname == "jnf" { &TEST_CASES_JN } else { &TEST_CASES };
let inputs =
if ctx.fn_name == "jn" || ctx.fn_name == "jnf" { &TEST_CASES_JN } else { &TEST_CASES };
inputs.get_cases()
}