Be exact about what operations throw the error.  i.e. you probably want to say

expect(() {
  microLeap();
}).toThrow().