Skip to content

Various fixes to the tests found by Claude - #4241

Merged
odow merged 1 commit into
masterfrom
od/fix-claude-test
Sep 3, 2026
Merged

Various fixes to the tests found by Claude#4241
odow merged 1 commit into
masterfrom
od/fix-claude-test

Conversation

@odow

@odow odow commented Sep 3, 2026

Copy link
Copy Markdown
Member

I haven't run locally, so let's see what the damage is.

Comment thread test/test_constraint.jl
function test_constraint_name_util(
ModelType = Model,
VariableRefType = VariableRef,
)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oops. I'm pretty sure this was mean to be function test_

Comment thread test/test_expr.jl
map_coefficients_inplace!(c -> 2c, y)
@test y == 2 * x[1] + 4 * x[2] + 6 * x[1]^2 + 8 * x[2]^2
return
end

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is an identical function to the one below

b.c_offset == 0
@test b.sense == MOI.MIN_SENSE
@test b.c == [0, 1, 0]
@test b.c_offset == 0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

😄

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.96%. Comparing base (a5ef408) to head (5b767b2).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4241   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          43       43           
  Lines        6303     6303           
=======================================
  Hits         6301     6301           
  Misses          2        2           

☔ 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.

@odow
odow merged commit 7969723 into master Sep 3, 2026
12 checks passed
@odow
odow deleted the od/fix-claude-test branch September 3, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant