Skip to content

Add line length specifier to assembler#101

Merged
craigthomas merged 1 commit intomainfrom
line-length-specifier
Feb 12, 2026
Merged

Add line length specifier to assembler#101
craigthomas merged 1 commit intomainfrom
line-length-specifier

Conversation

@craigthomas
Copy link
Owner

This PR adds a line length specifier as an option to the assembler as --print_length. This controls how many characters are allowed to be printed to the standard output when asking the assembler to --print the output of assembly. Integration test added to catch new conditions. This PR closes #84

@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.93%. Comparing base (cf0e679) to head (05fd23e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   94.92%   94.93%   +0.01%     
==========================================
  Files          16       16              
  Lines        2050     2055       +5     
==========================================
+ Hits         1946     1951       +5     
  Misses        104      104              
Files with missing lines Coverage Δ
cocoasm/program.py 99.35% <100.00%> (-0.02%) ⬇️
cocoasm/statement.py 99.51% <100.00%> (+0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf0e679...05fd23e. Read the comment docs.

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

@craigthomas craigthomas merged commit c68eb7d into main Feb 12, 2026
3 checks passed
@craigthomas craigthomas deleted the line-length-specifier branch February 12, 2026 15:52
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.

Allow user-specified output widths

1 participant