Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski authored and haileyajohnson committed Dec 19, 2023
1 parent 408fdee commit ed6c5f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ private void assertShowsNcmlModifiedVariableOnDatasetPage(String servletPath) th
final List<Element> grids = XmlUtil.evaluateXPath(doc, "//grid");
assertThat(grids).isNotNull();

final Optional<Element> orgiVar =
final Optional<Element> origVar =
grids.stream().filter(e -> e.getAttribute("name").getValue().equals("rh")).findFirst();
assertThat(orgiVar.isPresent()).isFalse();
assertThat(origVar.isPresent()).isFalse();

final Optional<Element> modifiedVar =
grids.stream().filter(e -> e.getAttribute("name").getValue().equals("ReletiveHumidity")).findFirst();
Expand Down

0 comments on commit ed6c5f6

Please sign in to comment.