move two asserts much closer to call site
1 file changed