From 3e03ced302fbd43b25e0fccc3f9b0edef3ac6d4b Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Tue, 26 Dec 2023 18:26:55 +0100 Subject: [PATCH] d --- tests/testthat/test-read_resource.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testthat/test-read_resource.R b/tests/testthat/test-read_resource.R index d04016de..8a3d1b54 100644 --- a/tests/testthat/test-read_resource.R +++ b/tests/testthat/test-read_resource.R @@ -294,14 +294,14 @@ test_that("read_resource() can read safe local and remote Table Schema, "/tests/testthat/data/deployments_schema.json" expect_error( read_resource(p_unsafe, "deployments"), - class = "frictionless_error_unsafe_absolute_path" + class = "frictionless_error_path_unsafe_absolute" ) # Schema is relative parent path p_unsafe$resources[[1]]$schema <- "../testthat/data/deployments_schema.json" expect_error( read_resource(p_unsafe, "deployments"), - class = "frictionless_error_unsafe_relative_path" + class = "frictionless_error_path_unsafe_relative" ) # Schema is local path @@ -340,14 +340,14 @@ test_that("read_resource() can read safe local and remote CSV dialect", { p_unsafe$resources[[1]]$dialect <- "/tests/testthat/data/dialect.json" expect_error( read_resource(p_unsafe, "deployments"), - class = "frictionless_error_unsafe_absolute_path" + class = "frictionless_error_path_unsafe_absolute" ) # Dialect is relative parent path p_unsafe$resources[[1]]$dialect <- "../testthat/data/dialect.json" expect_error( read_resource(p_unsafe, "deployments"), - class = "frictionless_error_unsafe_relative_path" + class = "frictionless_error_path_unsafe_relative" ) # Dialect is local path