Skip to content

Commit 498f00d

Browse files
committed
udpate a test
1 parent 2a3c98f commit 498f00d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/interactive/test-class_url.R

+8-3
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,16 @@ tar_test("store_row_path()", {
450450
expect_equal(store_row_path(store, file), "path")
451451
})
452452

453-
tar_test("store_path_from_record()", {
453+
tar_test("store_path_from_name()", {
454454
store <- tar_target(x, "x_value", format = "url")$store
455-
record <- record_init(path = "path", format = "url")
456455
expect_equal(
457-
store_path_from_record(store, record, path_store_default()),
456+
store_path_from_name(
457+
store,
458+
format = store$format,
459+
name = "x",
460+
path = "path",
461+
path_store = path_store_default()
462+
),
458463
"path"
459464
)
460465
})

0 commit comments

Comments
 (0)