Skip to content

Commit 9eb9864

Browse files
committed
wip
1 parent 7392174 commit 9eb9864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-emissions_profile_upstream.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ test_that("at product level, `NA` in a benchmark yields `NA`s only in the corres
194194
expect_false(is.na(filter(out, clustered == "a")$risk_category))
195195
expect_true(is.na(filter(out, clustered == "b")$risk_category))
196196

197-
benchmark <- "input_unit"
197+
benchmark <- aka("iunit")
198198
co2 <- example_inputs(
199199
!!aka("uid") := c("a", "b"),
200200
"{ benchmark }" := c("a", NA)
@@ -320,7 +320,7 @@ test_that("at company level, `NA` in a benchmark yields `value = 1` where `group
320320
pull(sum) |>
321321
expect_equal(1)
322322

323-
benchmark <- "input_unit"
323+
benchmark <- aka("iunit")
324324
co2 <- example_inputs("{ benchmark }" := c(NA))
325325
out <- emissions_profile_upstream(companies, co2) |> unnest_company()
326326
# For each benchmark `value` adds to 1

0 commit comments

Comments
 (0)