mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Suppress 'unsused' warning in SpoilerTest
This commit is contained in:
parent
c1e557e1d4
commit
4bf5c0c714
1 changed files with 2 additions and 0 deletions
|
@ -116,11 +116,13 @@ public class SpoilerTest extends SmackTestSuite {
|
|||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void spoilerCheckArgumentsNullTest() {
|
||||
@SuppressWarnings("unused")
|
||||
SpoilerElement spoilerElement = new SpoilerElement("de", null);
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void spoilerCheckArgumentsEmptyTest() {
|
||||
@SuppressWarnings("unused")
|
||||
SpoilerElement spoilerElement = new SpoilerElement("de", "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue