Skip to content

Commit

Permalink
Fixing failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: forestmvey <forestv@bitquilltech.com>
  • Loading branch information
forestmvey committed Sep 1, 2022
1 parent ef316d6 commit 000537d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,21 +610,21 @@ public void testParseCommand() {
}

@Test
public void testStringLiteralHighlightCommand() {
public void testQuotedHighlightCommand() {
assertEqual("source=t | highlight('FieldA')",
new Highlight(
alias("highlight('FieldA')",
highlight(stringLiteral("FieldA"))))
highlight(stringLiteral("'FieldA'"))))
.attach(relation("t"))
);
}

@Test
public void testQualifiedNameHighlightCommand() {
public void testUnquotedHighlightCommand() {
assertEqual("source=t | highlight(FieldA)",
new Highlight(
alias("highlight(FieldA)",
highlight(qualifiedName("FieldA"))))
highlight(stringLiteral("FieldA"))))
.attach(relation("t"))
);
}
Expand Down

0 comments on commit 000537d

Please sign in to comment.