Skip to content

Commit 6816ee7

Browse files
committed
crateApprovalNamer
1 parent a364260 commit 6816ee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/org/approvaltests/Approvals.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ public static void verify(FileApprover approver, ApprovalFailureReporter reporte
153153
}
154154
public static void verify(ExecutableQuery query) throws Exception
155155
{
156-
verify(new ApprovalTextWriter(query.getQuery(), "txt"), new JUnitStackTraceNamer(),
157-
new ExecutableQueryFailure(query));
156+
verify(new ApprovalTextWriter(query.getQuery(), "txt"), createApprovalNamer(), new ExecutableQueryFailure(
157+
query));
158158
}
159159
public static void verify(Map map) throws Exception
160160
{

0 commit comments

Comments
 (0)