Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
askwang committed Oct 9, 2024
1 parent 8cec8c1 commit 51a8f48
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1425,10 +1425,7 @@ public void testDeleteTag() throws Exception {
table.createTag("tag1", 1);
table.deleteTag("tag1");

assertThatThrownBy(() -> table.deleteTag("tag1"))
.satisfies(
anyCauseMatches(
IllegalArgumentException.class, "Tag 'tag1' doesn't exist."));
assertThat(table.tagManager().tags().containsValue("tag1")).isFalse();
}

@Test
Expand Down

0 comments on commit 51a8f48

Please sign in to comment.