exercism / exercism/configlet

sync: Update `tests.toml` if the corresponding `canonical-data.json` alters a test's `description`

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
cmd: sync
Dominant language
Nim
Stars
23
Forks
17
Avg merge
13h 57m
Merged PRs (30d)
1

Description

### Example

1. Say that a track has implemented an exercise `bob`, which has an up-to-date `tests.toml` file.
2. Change the `description` of a test in the `canonical-data.json` of that exercise in `exercism/problem-specifications` (assuming that we decide that the `description` is mutable).
3. Run `configlet sync -u --tests`

### Current behaviour

The `tests.toml` file is not changed.

### Expected behaviour

The `tests.toml` file should contain the new `description`

### Context

See https://github.com/exercism/problem-specifications/pull/1687#issuecomment-707850678.

@ee7 wrote:
> Should it update the `tests.toml` file to overwrite the comment that contains the description?"
I think the answer is yes, but it currently doesn't.

@iHiD wrote:
> If we went down the mutable route, then yes it should.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.