Skip to content

Commit 2aaf8e1

Browse files
committed
work around for portable names
1 parent ba16c62 commit 2aaf8e1

20 files changed

+6
-6
lines changed

tests/testthat/test-benchmark-results.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ with_mock_dir(test_path("logged-in"), {
1212
})
1313
})
1414

15-
with_mock_dir(test_path("resp-class"), {
15+
with_mock_dir(test_path("resp"), {
1616
run_id_1 <- "5a1ad"
1717
run_id_2 <- "5eaf00d"
1818
batch_id_1 <- "abba0123"

tests/testthat/test-compare.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ with_mock_dir(test_path("logged-in"), {
1313
})
1414

1515

16-
with_mock_dir(test_path("resp-class"), {
16+
with_mock_dir(test_path("resp"), {
1717
test_that("compare_results returns the correct json", {
1818
z_thres <- 11.1
1919
percent_threshold <- 20.2

tests/testthat/test-hardware.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ with_mock_dir(test_path("logged-in"), {
1313
})
1414

1515

16-
with_mock_dir(test_path("resp-class"), {
16+
with_mock_dir(test_path("resp"), {
1717
test_that("hardware() returns a data.frame", {
1818
the_hardware <- hardware()
1919
expect_s3_class(

tests/testthat/test-history.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ with_mock_dir(test_path("logged-in"), {
88
})
99

1010

11-
with_mock_dir(test_path("resp-class"), {
11+
with_mock_dir(test_path("resp"), {
1212
the_id <- "hist-id"
1313
test_that("history() returns a tibble", {
1414
the_history <- history(benchmark_id = the_id)

tests/testthat/test-info.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ with_mock_dir(test_path("logged-in"), {
1313
})
1414

1515

16-
with_mock_dir(test_path("resp-class"), {
16+
with_mock_dir(test_path("resp"), {
1717
test_that("info() returns a data.frame", {
1818
the_info <- info()
1919
expect_s3_class(

tests/testthat/test-runs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ with_mock_dir(test_path("logged-in"), {
77
})
88
})
99

10-
with_mock_dir(test_path("resp-class"), {
10+
with_mock_dir(test_path("resp"), {
1111
sha_1 <- "babb1ed"
1212
sha_2 <- "5eaf00d"
1313
test_that("runs() returns a tibble", {

0 commit comments

Comments
 (0)