Identify and fix incomplete assertions
Several calls to assertThat lacked a following assertion most often due to wrong use of parenthesis. See gh-10084
This commit is contained in:
committed by
Stephane Nicoll
parent
83eee7e65d
commit
04ca7f137d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
* Copyright 2012-2017 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.
|
||||
@@ -75,8 +75,8 @@ public class DatabaseDriverClassNameTests {
|
||||
|
||||
@Test
|
||||
public void databaseClassIsOfRequiredType() throws Exception {
|
||||
assertThat(getInterfaceNames(this.className.replace('.', '/'))
|
||||
.contains(this.requiredType.getName().replace('.', '/')));
|
||||
assertThat(getInterfaceNames(this.className.replace('.', '/')))
|
||||
.contains(this.requiredType.getName().replace('.', '/'));
|
||||
}
|
||||
|
||||
private List<String> getInterfaceNames(String className) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user