Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Lampert <[email protected]>
  • Loading branch information
mikeingold and JoshuaLampert authored Dec 7, 2024
1 parent f497e14 commit ba80123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ This file includes tests for:
# Test alias functions
for alias in (lineintegral, surfaceintegral, volumeintegral)
# if supports.alias
if getfield(supports, first(methods(alias)).name)
if getfield(supports, nameof(alias))
@test alias(testable.integrand, testable.geometry)testable.solution rtol=rtol
else
@test_throws "not supported" alias(testable.integrand, testable.geometry)
Expand Down Expand Up @@ -458,7 +458,7 @@ end
# Package and run tests
testable_cart = TestableGeometry(integrand, curve_cart, solution)
runtests(testable_cart, SupportStatus(:line))
testable_polar = TestableGeometry(integrand, curve_cart, solution)
testable_polar = TestableGeometry(integrand, curve_polar, solution)
runtests(testable_polar, SupportStatus(:line))
end
end
Expand Down

0 comments on commit ba80123

Please sign in to comment.