Fix escaping local 'got' in assert_error, thanks to Hristoz S.