Skip to content

Commit 14f79cc

Browse files
committed
Add debug logging to test-hover.R
1 parent 3dbb92b commit 14f79cc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

33
export(run)
4-
import(callr)
54
import(xml2)
65
importFrom(R6,R6Class)
76
importFrom(digest,digest)

tests/testthat/test-hover.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@ test_that("Hover works with local function", {
426426
))
427427

428428
result <- client %>% respond_hover(temp_file, c(6, 9))
429+
message("DEBUG HOVER RESULT:")
430+
message(paste(capture.output(print(result)), collapse = "\n"))
429431
expect_equal(result$range$start, list(line = 6, character = 7))
430432
expect_equal(result$range$end, list(line = 6, character = 11))
431433
expect_equal(result$contents, list(

0 commit comments

Comments
 (0)