grain icon indicating copy to clipboard operation
grain copied to clipboard

make testing not rely on stdlib

Open spotandjake opened this issue 1 year ago • 0 comments

This issue excludes the stdlib suite, as it makes sense that would have to rely on the stdlib.

Currently some of the test suites outside of the stdlib suite rely on the stdlib, we should do our best to ensure this is not the case so that simple updates to the stdlib do not cause snapshot tests to fail.

One such example is the provides12 test which relys on the map stdlib as seen here. https://github.com/spotandjake/grain/blob/80c79f57f855608bcdd5d5107066656661434d5a/compiler/test/test-libs/providedType.gr#L3

spotandjake avatar Jul 22 '23 22:07 spotandjake