lib: add helpful assert
0.3.9