Skip to content

Commit 59585b8

Browse files
committed
Fix typos
1 parent c6ce003 commit 59585b8

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/testthat/connection_to_datasets/login_details.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source("connection_to_datasets/init_local_settings.R")
44

55
init.ip.address()
66

7-
# create blank enviroment of test data
7+
# create blank environment of test data
88
ds.test_env <- new.env()
99

1010
# this option helps DSI to find the connection objects by looking in the right environment

tests/testthat/dstest_functions/ds_expect_variables.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
#
1414

1515
ds_expect_variables <- function(expected.variables) {
16-
studies.current.varables <- ds.ls()
16+
studies.current.variables <- ds.ls()
1717

18-
for (study.current.varables in studies.current.varables) {
19-
expect_setequal(study.current.varables$objects.found, expected.variables)
18+
for (study.current.variables in studies.current.variables) {
19+
expect_setequal(study.current.variables$objects.found, expected.variables)
2020
}
2121
}

tests/testthat/test-arg-ds.ls.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_that("setup", {
2626

2727
context("ds.ls::arg")
2828
test_that("containing escape sequence", {
29-
res1 <- ds.ls(search.filter="_:A:_Enviroment")
29+
res1 <- ds.ls(search.filter="_:A:_Environment")
3030

3131
expect_length(res1, 1)
3232
expect_equal(res1, "Warning: Code replacing wildcard (i.e. '*') is '_:A:_' but this appears in your original search filter string - please respecify")
@@ -36,7 +36,7 @@ test_that("containing escape sequence", {
3636
expect_length(res2, 1)
3737
expect_equal(res2, "Warning: Code replacing wildcard (i.e. '*') is '_:A:_' but this appears in your original search filter string - please respecify")
3838

39-
res3 <- ds.ls(search.filter="Enviroment_:A:_")
39+
res3 <- ds.ls(search.filter="Environment_:A:_")
4040

4141
expect_length(res3, 1)
4242
expect_equal(res3, "Warning: Code replacing wildcard (i.e. '*') is '_:A:_' but this appears in your original search filter string - please respecify")

0 commit comments

Comments
 (0)