Skip to content

Commit ce61b89

Browse files
authored
Merge pull request #52 from svchb/patch-1
Fix test with Julia 1.11
2 parents dfc230d + 6d9f8b6 commit ce61b89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ end
303303
@test p !== a
304304
@test p == a
305305
end
306-
ThreadingUtilities.store!(pointer(xu), pg, offset)
307-
@test @inferred(ThreadingUtilities.load(pointer(xu), typeof(pg), offset)) ===
308-
(offset + sizeof(UInt), greet)
306+
new_offset = ThreadingUtilities.store!(pointer(xu), pg, offset)
307+
@test @inferred(ThreadingUtilities.load(pointer(xu), typeof(pg), offset)) ==
308+
(new_offset, greet)
309309
ThreadingUtilities.store!(pointer(xu), ph, offset)
310310
@test @inferred(ThreadingUtilities.load(pointer(xu), typeof(ph), offset)) ===
311311
(offset + sizeof(UInt), greet[1])

0 commit comments

Comments
 (0)