Skip to content

Commit

Permalink
Fixed my retardation
Browse files Browse the repository at this point in the history
  • Loading branch information
fan87 committed Jun 19, 2022
1 parent 891ed6c commit eae461e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/me/fan87/regbex/Regbex.kt
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class Regbex {
* Expect a Ldc node with value [any]
*/
fun thenLdc(any: Any) {
thenCustomCheck { it is LdcInsnNode && it == any }
thenCustomCheck { it is LdcInsnNode && it.cst == any }
}


Expand Down

0 comments on commit eae461e

Please sign in to comment.