Skip to content

Commit fde86e0

Browse files
committed
Pass correct trace_env
1 parent 9a9fd43 commit fde86e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/expectations-matches.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ expect_match_ <- function(
124124
encodeString(regexp, quote = '"'),
125125
values
126126
)
127-
return(fail(msg, info = info))
127+
return(fail(msg, info = info, trace_env = caller_env()))
128128
}
129129
pass(act$val)
130130
}

0 commit comments

Comments
 (0)