Package-Level Functions (total 11, in which 5 are exported)
ArgsAfterT selects args starting at position 1. Used when the caller has a
testing.T as the first argument, and the args to select should follow it.
ArgsAtZeroIndex selects args from the CallExpression at position 1.
Used when the caller accepts a single cmp.Comparison argument.
ArgsFromComparisonCall selects args from the CallExpression at position 1.
Used when the caller has a testing.T as the first argument, and the args to
select are passed to the cmp.Comparison at position 1.
Eval the comparison and print a failure messages if the comparison has failed.
RunComparison and return Comparison.Success. If the comparison fails a messages
will be printed using t.Log.
filterPrintableExpr filters the ast.Expr slice to only include Expr that are
easy to read when printed and contain relevant information to an assertion.
Ident and SelectorExpr are included because they print nicely and the variable
names may provide additional context to their values.
BasicLit and CompositeLit are excluded because their source is equivalent to
their value, which is already available.
Other types are ignored for now, but could be added if they are relevant.