Skip to content

Commit

Permalink
Woops! Fix failing test.
Browse files Browse the repository at this point in the history
Signed-off-by: currantw <[email protected]>
  • Loading branch information
currantw committed Feb 6, 2025
1 parent a03c42a commit f465ce1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ void testInvalidName() {

ex = assertThrows(SemanticCheckException.class, () -> executeFlatten(".invalid"));
assertEquals(
"can't resolve Symbol(namespace=FIELD_NAME, name=.struct) in type env", ex.getMessage());
"can't resolve Symbol(namespace=FIELD_NAME, name=.invalid) in type env", ex.getMessage());

ex = assertThrows(SemanticCheckException.class, () -> executeFlatten("invalid."));
assertEquals(
"can't resolve Symbol(namespace=FIELD_NAME, name=struct.) in type env", ex.getMessage());
"can't resolve Symbol(namespace=FIELD_NAME, name=invalid.) in type env", ex.getMessage());
}

@Test
Expand Down

0 comments on commit f465ce1

Please sign in to comment.