Skip to content
Snippets Groups Projects
Commit 7b62265d authored by Tomas Stupka's avatar Tomas Stupka
Browse files

one more options test

parent 87dc824b
Branches
No related tags found
No related merge requests found
...@@ -54,6 +54,7 @@ public class TestBuiltin_options extends TestBase { ...@@ -54,6 +54,7 @@ public class TestBuiltin_options extends TestBase {
assertEval("{ f<-function(){}; options(editor=f); identical(getOption(\"editor\"), f) }"); assertEval("{ f<-function(){}; options(editor=f); identical(getOption(\"editor\"), f) }");
assertEval("{ options(editor=\"vi\"); identical(getOption(\"editor\"), \"vi\") }"); assertEval("{ options(editor=\"vi\"); identical(getOption(\"editor\"), \"vi\") }");
assertEval("{ options(editor=NULL); identical(getOption(\"editor\"), NULL) }"); assertEval("{ options(editor=NULL); identical(getOption(\"editor\"), NULL) }");
assertEval(Ignored.WrongCaller, "{ options(editor=\"\") }");
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment