# test\(checks\): replace covered JS fragment assertions with executed tests \(\#304\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/1dc7f2c5fbc834bb74c205ad4b9d5607aba597bf)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 1dc7f2c5fbc834bb74c205ad4b9d5607aba597bf

Requested commit: 1dc7f2c5fbc834bb74c205ad4b9d5607aba597bf

Commit: 1dc7f2c5fbc834bb74c205ad4b9d5607aba597bf

Tree: a5102764b5f53dccf9dac1e6434182007c32b6a5

Author: Simone

Committer: GitHub

## Message

```
test(checks): replace covered JS fragment assertions with executed tests (#304)

Static grep assertions on pure JS modules fail on renames that change
nothing and pass on edits that change behavior. Following the PR #303
method, each removed fragment was verified by breaking the behavior it
describes and confirming a QtTest goes red. Six coverage gaps found
this way gained a failing-first test before their assertion was
removed. Four UsageDetails assertions are kept: the grapheme comment
and the three reject_* style pins cannot be expressed as runtime tests.

No production code changes. No user-visible change, so CHANGELOG is
untouched.
```

## Parents

- [cf5b828b19ac56772642c96ddae2ae79e90ab7a1](https://git.cafe/lucenx/codexbar-plasma/commit/cf5b828b19ac56772642c96ddae2ae79e90ab7a1?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/1dc7f2c5fbc834bb74c205ad4b9d5607aba597bf?format=markdown)
