File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ local({
3434 fs_client [[" execute_IO_plan" ]](info [[" IO_plan" ]])
3535 expect_length(fs_state [[" error" ]], 0L )
3636
37- test_that(" Review error message when extra choice is provided" , {
37+ test_that(" Review error message when extra choice is provided in a non-trailing position " , {
3838 review2 <- review
39- review2 [[" choices" ]] <- c(review2 [[" choices" ]], " choiceC " )
39+ review2 [[" choices" ]] <- c(" choiceC " , review2 [[" choices" ]])
4040 info <- REV_load_annotation_info(fs_contents , review2 , dataset_lists )
4141 expect_true(length(info [[" error" ]]) == 1 &&
42- startsWith(info [[" error" ]][[1 ]], " Review choices should remain stable during the course of a trial." ))
42+ startsWith(info [[" error" ]][[1 ]],
43+ " Review choices cannot be removed or reordered during the course of a trial." ))
4344 })
4445
4546 test_that(" Review error message when `id_vars` is modified" , {
You can’t perform that action at this time.
0 commit comments