Skip to content

Commit a4bf2b8

Browse files
committed
Fix 3 tests
1 parent a375e18 commit a4bf2b8

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| test.kt:1:1:1:20 | C1 | Unused class: C1 is not referenced within this codebase. If not used as an external API it should be removed. |
1+
| test.kt:1:1:1:31 | C1 | Unused class: C1 is not referenced within this codebase. If not used as an external API it should be removed. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| Test.kt:12:1:12:13 | aaaa | Class and interface names should start in uppercase. |
1+
| Test.kt:12:1:12:24 | aaaa | Class and interface names should start in uppercase. |

java/ql/test-kotlin1/query-tests/UselessNullCheck/Test.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fun fn(x:Any?, y: Any?) {
1212

1313
fun fn0(o: Any?) {
1414
if (o != null) {
15-
o?.toString()
16-
o.toString() // $ Alert
15+
o?.toString() // $ Alert
16+
o.toString()
1717
}
1818
}

0 commit comments

Comments
 (0)