Skip to content

Commit 9283080

Browse files
Andreas BlätteAndreas Blätte
authored andcommitted
cwb encode test
1 parent 19e7c04 commit 9283080

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/testthat/test_cwb_encode.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ test_that(
7878

7979
expect_true(cl_load_corpus(corpus = "BT", registry = get_tmp_registry()))
8080
expect_true(tolower("BT") %in% cl_list_corpora())
81-
expect_true(cqp_load_corpus(corpus = "BT", registry = get_tmp_registry()))
81+
82+
# In the CQP context, corpus IDs are uppered - here we knowingly provide
83+
# a lowercase ID that is uppered internally #64
84+
expect_true(cqp_load_corpus(corpus = "bt", registry = get_tmp_registry()))
8285
expect_true("BT" %in% cqp_list_corpora())
8386

8487
for (p_attr in c("word", "pos", "lemma")){

0 commit comments

Comments
 (0)