Skip to content

Commit 19c00c1

Browse files
committed
Tweak variable name
1 parent 61653d5 commit 19c00c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/test-that.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ test_code <- function(code, env, reporter = NULL, skip_on_empty = TRUE) {
172172
withCallingHandlers(
173173
{
174174
eval(code, test_env)
175-
has_expectations <- the$test_expectations > starting_expectations
176-
if (!has_expectations && skip_on_empty) {
175+
new_expectations <- the$test_expectations > starting_expectations
176+
if (!new_expectations && skip_on_empty) {
177177
skip_empty()
178178
}
179179
},

0 commit comments

Comments
 (0)