Update copyright headers and polish

This commit is contained in:
Sam Brannen 2023-06-24 14:14:02 +02:00
parent 6d63890c56
commit f86a69ebfb
3 changed files with 4 additions and 4 deletions

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -130,8 +130,8 @@ public abstract class AbstractHtmlElementTagTests extends AbstractTagTests {
} }
protected final void assertAttributeNotPresent(String output, String attributeName) { protected final void assertAttributeNotPresent(String output, String attributeName) {
boolean condition = !output.contains(attributeName + "=\""); assertThat(output).as("Unexpected attribute '" + attributeName + "' in output '" + output + "'.")
assertThat(condition).as("Unexpected attribute '" + attributeName + "' in output '" + output + "'.").isTrue(); .doesNotContain(attributeName + "=\"");
} }
protected final void assertBlockTagContains(String output, String desiredContents) { protected final void assertBlockTagContains(String output, String desiredContents) {