Skip to content

Commit

Permalink
[WIP] Save test draft from experiments while pairing for #241.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Dec 7, 2023
1 parent 0850696 commit 3ca3e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class QueryCommand
Option.builder("i")
.hasArg()
.argName("FILE")
.required()
//.required()
.desc("metaschema content instance resource")
.build());
@NonNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private static Stream<Arguments> providesValues() {
values.add(Arguments.of(new String[] { "generate-schema", "--overwrite", "--as", "JSON",
"../databind/src/test/resources/metaschema/fields_with_flags/metaschema.xml",
"target/schema-test.json" }, ExitCode.OK, noExpectedExceptionClass));
values.add(Arguments.of(new String[] { "query", "-m", "module.xml", "-i", "content-instance.xml", "\"2 + 2\""}, ExitCode.INVALID_COMMAND, noExpectedExceptionClass));
return values.stream();
}

Expand Down

0 comments on commit 3ca3e13

Please sign in to comment.