Skip to content

Comments

LRM example fix.#161

Merged
phiwuu merged 4 commits intobmw-software-engineering:mainfrom
LuDubies:main
Feb 6, 2026
Merged

LRM example fix.#161
phiwuu merged 4 commits intobmw-software-engineering:mainfrom
LuDubies:main

Conversation

@LuDubies
Copy link
Contributor

@LuDubies LuDubies commented Feb 5, 2026

Minimal change correcting the first example for Checks in the LRM.
As explained in Chapter 9 of the LRM, checks trigger if the expression evaluates to false.

This means the first example given would actually output a warning for every Requirement with a description of 10 chars or more!
Only requirements with short descriptions would pass this check.
This issue can be reproduced trivially with a minimal example, so no reproduction is provided here.

@LuDubies LuDubies requested a review from a team as a code owner February 5, 2026 14:56
Copy link
Member

@phiwuu phiwuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this! There are already a few system tests which verify checks. For example tests-system/checks-1 illustrates the correctness of your fix.

https://github.com/bmw-software-engineering/trlc/tree/abb43e17b7b8fb93f4416d30994427c8aa0ff265/tests-system/checks-1

@phiwuu phiwuu merged commit af4fc51 into bmw-software-engineering:main Feb 6, 2026
20 checks passed
@phiwuu phiwuu added the documentation Improvements or additions to documentation label Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants