Skip to content

Commit

Permalink
Fix a test for nightly (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 14, 2024
1 parent 85f5ff2 commit 787bfe2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ end
@testset "Dimension mismatch" begin
A = zeros(1, 1)
B = zeros(2, 2)
err = DimensionMismatch(
"dimensions must match: a has dims (Base.OneTo(1), Base.OneTo(1)), b has dims (Base.OneTo(2), Base.OneTo(2)), mismatch at 1",
)
@test_throws err MA.@rewrite A + B
@test_throws DimensionMismatch MA.@rewrite A + B
x = ones(1)
y = ones(2)
err = DimensionMismatch(
Expand Down

0 comments on commit 787bfe2

Please sign in to comment.