Skip to content

Commit 668ed32

Browse files
committed
remove typo
1 parent 1eb64bc commit 668ed32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/loadsave.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ try
1919
empty!(FileIO.sym2saver)
2020
file_dir = joinpath(dirname(@__FILE__), "files")
2121
context("Load") do
22-
22+
2323
add_loader(format"PBMText", :TestLoadSave)
2424
add_loader(format"PBMBinary", :TestLoadSave)
2525
add_loader(format"HDF5", :TestLoadSave)
@@ -128,12 +128,12 @@ del_format(format"DUMMY")
128128
# PPM/PBM can be either binary or text. Test that the defaults work,
129129
# and that we can force a choice.
130130
module AmbigExt
131-
import FileIO: File, @format_str, Streamm, stream, skipmagic
131+
import FileIO: File, @format_str, Stream, stream, skipmagic
132132

133133
load(f::File{format"AmbigExt1"}) = open(f) do io
134134
skipmagic(io)
135135
readall(stream(io))
136-
end
136+
end
137137
load(f::File{format"AmbigExt2"}) = open(f) do io
138138
skipmagic(io)
139139
readall(stream(io))
@@ -143,7 +143,7 @@ save(f::File{format"AmbigExt1"}, testdata) = open(f, "w") do io
143143
s = stream(io)
144144
print(s, "ambigext1")
145145
print(s, testdata)
146-
end
146+
end
147147
save(f::File{format"AmbigExt2"}, testdata) = open(f, "w") do io
148148
s = stream(io)
149149
print(s, "ambigext2")

0 commit comments

Comments
 (0)