Skip to content

Commit

Permalink
Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterwln committed Oct 2, 2024
1 parent 59decf5 commit 8cd18bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/message_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@
end
end

@testitem "Deffered message" begin
@testitem "Deferred message" begin
using Rocket
import ReactiveMP: DefferedMessage, as_message, getdata
import ReactiveMP: DeferredMessage, as_message, getdata

for a in rand(3), b in rand(3)
messages_stream = RecentSubject(Float64)
marginals_stream = RecentSubject(Float64)

dmessage = DefferedMessage(messages_stream, marginals_stream, (a, b) -> Message(a + b, false, false, nothing))
dmessage = DeferredMessage(messages_stream, marginals_stream, (a, b) -> Message(a + b, false, false, nothing))

# The data cannot be computed since no values were provided yet
@test_throws MethodError as_message(dmessage)
Expand Down

0 comments on commit 8cd18bf

Please sign in to comment.