LV 2.0: update some CLI tests with warnings to use DIVISION_BY_ZERO warning
This commit is contained in:
committed by
Space Team
parent
e5906a8a3a
commit
e4b70e7788
@@ -1,5 +1,5 @@
|
||||
package kotlin
|
||||
|
||||
fun main() {
|
||||
val x = 1?.dec()
|
||||
fun foo(arg: Int) {
|
||||
val x = arg / 0
|
||||
}
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
compiler/testData/cli/jvm/readingConfigFromEnvironment/appendingArgs.kt:4:13: warning: [DIVISION_BY_ZERO] Division by zero.
|
||||
val x = arg / 0
|
||||
^
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user