Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an invokelatest that may be required in 1.12 #231

Merged
merged 3 commits into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ end
# skip tables containing only unipotent character types
startswith(table, "uni") && continue

@test order(g) == sum(number_of_characters(c) * degree(c)^2 for c in g)
# Workaround that may be needed in Julia >= 1.12. Can be removed
# when we manage to remove the need for `eval` when loading tables.
Base.invokelatest() do
fingolfin marked this conversation as resolved.
Show resolved Hide resolved
@test order(g) == sum(number_of_characters(c) * degree(c)^2 for c in g)
end
end
end
Loading