Closed tk3369 closed 4 years ago
Cool. Could you add that test to the package tests?
Mmm... the tests have been added but it failed CI because I cannot define a struct inside @testset
. Looks like it's a feature added in Julia 1.1.
ERROR: LoadError: error compiling top-level scope: type definition not allowed inside a local scope
Do you think we should just move the struct definition to the top level? Else, we can consider updating the TravisCI config to a later version.
ping @pfitzseb
Should be fine to move the struct
definition out of the testset.
@pfitzseb I think we're ready to merge. Please take a look and let me know if there's any issues. Thanks
Thanks for the contribution!
Quick test: