From 10a24707262a6c5047a7444ca781f815258d06cb Mon Sep 17 00:00:00 2001 From: Marcus Kruse Date: Tue, 24 Oct 2023 07:39:11 +0200 Subject: [PATCH] Keep location --- lib/prove.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/prove.ex b/lib/prove.ex index bb1d519..bb1dacf 100644 --- a/lib/prove.ex +++ b/lib/prove.ex @@ -214,7 +214,9 @@ defmodule Prove do when is_binary(description) and operator in @operators do assertion = quote_assertion(expr) - quote bind_quoted: [ + quote generated: true, + location: :keep, + bind_quoted: [ assertion: Macro.escape(assertion), description: description, file: file,