Skip to content

Commit

Permalink
@test_throws julia 1.6 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Oct 2, 2023
1 parent 699c407 commit b906609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ println("------------------------------------")
@test @constinferred(oneunit(V)) == W == oneunit(typeof(V))
@test @constinferred((V, V)) ==^(2d)
@test_throws SpaceMismatch ((V, V'))
@test_throws "promotion of types $(typeof(ℝ^d)) and $(typeof(ℂ^d)) failed to change any arguments" ((ℝ^d,
@test_throws ErrorException("promotion of types $(typeof(ℝ^d)) and $(typeof(ℂ^d)) failed to change any arguments") ((ℝ^d,
^d))
@test_throws "promotion of types $(typeof(ℝ^d)) and $(typeof(ℂ^d)) failed to change any arguments" ((ℝ^d,
@test_throws ErrorException("promotion of types $(typeof(ℝ^d)) and $(typeof(ℂ^d)) failed to change any arguments") ((ℝ^d,
^d))
@test @constinferred((V, V)) ==^(2d)
@test @constinferred((V, oneunit(V))) ==^(d + 1)
Expand Down

0 comments on commit b906609

Please sign in to comment.