Skip to content

Commit 016b865

Browse files
committed
Remove superseeded context() calls
1 parent 378b24d commit 016b865

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

tests/testthat/test-accessors.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
context("accessors")
2-
31
test_that("subsetting blob returns blob", {
42
x <- blob(!!!as.raw(1:5))
53
expect_s3_class(x[1], "blob")

tests/testthat/test-cast.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
context("test-cast")
2-
31
test_that("casting with as.blob()", {
42
# Deprecated in v1.2.0
53
local_lifecycle_silence()

tests/testthat/test-construction.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
context("construction")
2-
31
test_that("input must be list of raw blobs", {
42
# error from vctrs package
53
expect_error(new_blob(1))

tests/testthat/test-format.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
context("format")
2-
31
expect_format_equal <- function(formatted, result) {
42
expect_equal(
53
paste(formatted, collapse = "\n"),

tests/testthat/test-missing.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
context("missing")
2-
31
test_that("is.na detects nulls", {
42
x <- blob(as.raw(1), NULL, as.raw(2), NULL)
53
expect_equal(is.na(x), c(FALSE, TRUE, FALSE, TRUE))

0 commit comments

Comments
 (0)