% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpret_unit_test.R
\name{find_named_arg}
\alias{find_named_arg}
\title{Find a named argument in a list of call arguments}
\usage{
find_named_arg(args, name)
}
\arguments{
\item{args}{List of call arguments (from \code{as.list(e[-1])})}

\item{name}{Character name of the argument to find}
}
\value{
The argument value, or NULL if not found
}
\description{
Searches by name; also handles positional fallback for the second argument
when the name is absent (e.g., \code{expect_equal(x, y, tolerance = 0.01)}).
}
\keyword{internal}
