Update copyright headers and polish
This commit is contained in:
parent
6d63890c56
commit
f86a69ebfb
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue