From f4ee4045a661e8fcc02efccd8aac98e378793996 Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Wed, 21 Aug 2024 17:09:00 +0100 Subject: [PATCH] more debug --- tests/testthat/test-read.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-read.R b/tests/testthat/test-read.R index 1841c10..7bab3fc 100644 --- a/tests/testthat/test-read.R +++ b/tests/testthat/test-read.R @@ -49,8 +49,10 @@ test_that("can get trace for uploaded dataset with xcol", { warnings = lapply(expected_warnings, jsonlite::unbox)) )) - str(res$body) body <- jsonlite::fromJSON(res$body) + for (warning in body$data$warnings[[1]]) { + str(warning) + } expect_equal(body$data, jsonlite::fromJSON(expected)) })