From e5d26c2b6765395d0fd35b8e75687e0054b2d204 Mon Sep 17 00:00:00 2001 From: Rodrigo Basa Date: Tue, 10 Sep 2024 16:04:34 +0800 Subject: [PATCH 1/2] skip a unit test on windows --- DESCRIPTION | 2 +- NEWS.md | 4 ++++ tests/testthat/test-lsp_completion_package_attach_list.R | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4a9a7f3..1fbbd28 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: box.lsp Title: Provides 'box' Compatibility for 'languageserver' -Version: 0.1.0 +Version: 0.1.0.9001 Authors@R: c( person("Ricardo Rodrigo", "Basa", role = c("aut", "cre"), email = "opensource+rodrigo@appsilon.com"), diff --git a/NEWS.md b/NEWS.md index 4a78aa4..7d9d2a6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# box.lsp (development version) + +* Skip one unit test on Windows that returns a different length of values. + # box.lsp 0.1.0 First release. diff --git a/tests/testthat/test-lsp_completion_package_attach_list.R b/tests/testthat/test-lsp_completion_package_attach_list.R index 61624f2..ea24e0d 100644 --- a/tests/testthat/test-lsp_completion_package_attach_list.R +++ b/tests/testthat/test-lsp_completion_package_attach_list.R @@ -40,6 +40,7 @@ test_that("completion of package attached function list works", { }) test_that("completion of package attached function with alias works", { + testthat::skip_on_os("windows") client <- language_client() temp_file <- withr::local_tempfile(fileext = ".R") From ef992167f5a3edc6365385f3bfb0d81fd473b49a Mon Sep 17 00:00:00 2001 From: Rodrigo Basa Date: Tue, 10 Sep 2024 16:13:31 +0800 Subject: [PATCH 2/2] update NEWSs --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 7d9d2a6..9ee8f97 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,6 @@ # box.lsp (development version) -* Skip one unit test on Windows that returns a different length of values. +* Fixed one unit test on Windows that returns a different length of values. # box.lsp 0.1.0