Revert "Update test data as operator 'mod' became deprecated"

This reverts commit 040f4e90ce.
This commit is contained in:
Mikhail Zarechenskiy
2016-12-12 17:28:28 +03:00
parent 42d867b3bf
commit e67543e08e
7 changed files with 21 additions and 21 deletions
@@ -2,13 +2,13 @@
// !CHECK_TYPE
class Controller {
suspend fun noParams(): Unit = suspendWithCurrentContinuation {
if (hashCode() <!DEPRECATED_BINARY_MOD_AS_REM!>%<!> 2 == 0) {
it.resume(Unit)
Suspend
}
if (hashCode() % 2 == 0) {
it.resume(Unit)
Suspend
}
else {
Unit
}
Unit
}
}
suspend fun yieldString(value: String) = suspendWithCurrentContinuation<Int> {
it.resume(1)