google / google/codeworld

Unit testing for auto-indent

Open
#1,293 1 comment 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

It would be a really good idea to have some automated unit tests for the auto-indent code. Could cover most of the important cases by setting up a test harness that loads something in codeworld mode, runs the `formatSource` function from `codeworld.js`, and then asserts the result.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.