Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example tutorials #651

Merged
merged 2 commits into from
Jan 31, 2022
Merged

Fix example tutorials #651

merged 2 commits into from
Jan 31, 2022

Conversation

gadenbuie
Copy link
Member

Recent changes throw an error when a -check chunk is used without an exercise.checker option (#640).

I hadn't realized that the example tutorials use -check chunks with simple message, which might be part of an earlier version of learnr. This PR updates the tutorials with a super basic checker that simply evaluates the -check chunk code and reports it as the feedback message.

This unblocks the example tutorials for now, but in the future we should update the example tutorials to use gradethis or other check packages (#650).

@gadenbuie gadenbuie merged commit 353338c into main Jan 31, 2022
@gadenbuie gadenbuie deleted the fix-example-tutorials branch January 31, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant