Skip to content

Commit 6a6571c

Browse files
authored
Fix tests for julia nightly (#7)
* fix tests * Bump version
1 parent da9b231 commit 6a6571c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "InputBuffers"
22
uuid = "0c81fc1b-5583-44fc-8770-48be1e1cca08"
33
authors = ["nhz2 <[email protected]> and contributors"]
4-
version = "1.0.0"
4+
version = "1.0.1"
55

66
[compat]
77
julia = "1.6"

test/runtests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ using CRC32: crc32
9696
@test read(io, String) == ""
9797
@test read(io2, String) == ""
9898
seek(io2, 0)
99-
truncate(io2, io2.size - 2)
100-
@test read(io2, String) == "goodnightmoonhelloworld"
101-
seek(io2, 0)
102-
write(io2, io2)
103-
@test read(io2, String) == ""
99+
@test read(io2, String) == "goodnightmoonhelloworldω"
104100
end
105101

106102
@test flush(InputBuffer(UInt8[])) === nothing # should be a no-op

0 commit comments

Comments
 (0)