rspec/rules/S1134/kotlin/non-compliant-example.adoc

5 lines
140 B
Plaintext
Raw Normal View History

[source,kotlin]
----
// FIXME denominator value might be 0
fun divide(numerator: Int, denominator: Int): Int = numerator / denominator
----