You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As expected, the "enforce" of line 12 of nested-script.repl trigger a failure... But pact locates the error in the wrong file: line 12 of main-script.repl, and shows the wrong line content: here "Hello" instead of (enforce false "We fail")
Expected Behavior
I would expect Pact to locate the error in nested-script.repl
The text was updated successfully, but these errors were encountered:
Issue description
When a "sub-REPL file" triggers an error, pact mistakenly locates the error in the main REPL file.
Steps to reproduce
Let's see an example
File
nested-script.repl
:File
main-script.repl
:Now let's run main-script
As expected, the "enforce" of line 12 of
nested-script.repl
trigger a failure... But pact locates the error in the wrong file: line 12 ofmain-script.repl
, and shows the wrong line content: here "Hello" instead of(enforce false "We fail")
Expected Behavior
I would expect Pact to locate the error in
nested-script.repl
The text was updated successfully, but these errors were encountered: