Skip to content

Commit

Permalink
Keep location
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNeck committed Oct 24, 2023
1 parent 0ce69dc commit 10a2470
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/prove.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 10a2470

Please sign in to comment.