Skip to content

Commit

Permalink
Tweak test text a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Dec 20, 2024
1 parent 608b101 commit ff0038e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ public void getAllContentsNamesWithoutPrefixNoPreferredLanguageTags() throws Exc
for (RDFModelElement o : model.allContents()) {
names.addAll((Collection<String>) pGetter.invoke(o, "name", context));
}
assertEquals("With no language preference and no tag, all values return", ALL_NAMES, names);;
assertEquals("With no language preference and no tag, all values are returned", ALL_NAMES, names);;
}

@Test
public void getNamesWithoutPrefixNoPreferredLanguageTag() throws Exception {
setupModel(null);
RDFResource res = (RDFResource) model.getElementById(SPIDERMAN_URI);
Set<String> names = new HashSet<>((Collection<String>) pGetter.invoke(res, "name", context));
assertEquals("With no language preference and no tag, all values return", SPIDERMAN_NAMES, names);
assertEquals("With no language preference and no tag, all values are returned", SPIDERMAN_NAMES, names);
}

// EN preferred but not available
Expand Down

0 comments on commit ff0038e

Please sign in to comment.