Skip to content

Commit

Permalink
Update copyright headers and polish
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jun 24, 2023
1 parent 6d63890 commit f86a69e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -130,8 +130,8 @@ protected final void assertContainsAttribute(String output, String attributeName
}

protected final void assertAttributeNotPresent(String output, String attributeName) {
boolean condition = !output.contains(attributeName + "=\"");
assertThat(condition).as("Unexpected attribute '" + attributeName + "' in output '" + output + "'.").isTrue();
assertThat(output).as("Unexpected attribute '" + attributeName + "' in output '" + output + "'.")
.doesNotContain(attributeName + "=\"");
}

protected final void assertBlockTagContains(String output, String desiredContents) {
Expand Down

0 comments on commit f86a69e

Please sign in to comment.