Skip to content

Implement #ruleName on class side#210

Merged
marschall merged 1 commit into
SeasideSt:masterfrom
marschall:implement-rulename
Jul 10, 2026
Merged

Implement #ruleName on class side#210
marschall merged 1 commit into
SeasideSt:masterfrom
marschall:implement-rulename

Conversation

@marschall

Copy link
Copy Markdown
Contributor

Fixes #208

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.03960% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.99%. Comparing base (a349135) to head (29a5cbb).

Files with missing lines Patch % Lines
...kage/GRReSlimeBlockLintRule.class/instance/name.st 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
+ Coverage   87.84%   87.99%   +0.15%     
==========================================
  Files        1607     1627      +20     
  Lines       11357    11439      +82     
==========================================
+ Hits         9976    10066      +90     
+ Misses       1381     1373       -8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

testUniqueIdentifierName
"see https://github.com/SeasideSt/Grease/pull/202"
| result |
result := ReSmalllintTest run: #testUniqueIdentifierName.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added this so we have a test for #202

@@ -0,0 +1,4 @@
accessing
name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moved to superclass so the #name implementations in the two subclasses could be removed.

@marschall
marschall merged commit 89606ed into SeasideSt:master Jul 10, 2026
12 checks passed
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.

Slime rules should implement #ruleName on class side

2 participants