checker: check method args

This commit is contained in:
joe-conigliaro 2020-05-05 01:32:40 +10:00
parent 36bf99ed5a
commit b2157388d9
No known key found for this signature in database
GPG key ID: C12F7136C08206F1
3 changed files with 25 additions and 7 deletions

View file

@ -28,6 +28,6 @@ fn test_eventbus(){
assert !eb.subscriber.is_subscribed("on_test")
}
fn on_test(sender voidptr, ev &EventData) {
fn on_test(sender voidptr, ev &EventData, x voidptr) {
assert ev.data == "hello"
}