Skip to content

Commit

Permalink
Consider making optional the new default #163
Browse files Browse the repository at this point in the history
  • Loading branch information
abstratt committed Mar 2, 2019
1 parent 5f36e7b commit 08c412a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ public void testWriteAttribute() throws CoreException {
source += "end.";
parseAndCheck(structure, source);
}
//TODO-RC in preparation for validating required vs optional values
public void _testWriteRequiredAttributeWithOptionalValue() throws CoreException {
public void testWriteRequiredAttributeWithOptionalValue() throws CoreException {
String source;
source = "model simple;\n";
source += "operation SimpleClass.bar;\n";
Expand All @@ -590,10 +589,9 @@ public void _testWriteRequiredAttributeWithOptionalValue() throws CoreException
source += "end.";
IProblem[] problems = parse(structure, source);
assertEquals(1, problems.length);
TypeMismatch typeMismatch = assertExpectedProblem(TypeMismatch.class, problems);
assertExpectedProblem(TypeMismatch.class, problems);
}


public void testWriteClassAttribute() throws CoreException {
String source;
source = "model simple;\n";
Expand Down

0 comments on commit 08c412a

Please sign in to comment.