|
67 | 67 | @test unknown(format"UNKNOWN") |
68 | 68 |
|
69 | 69 | add_format(format"CSV", UInt8[], ".csv") |
70 | | - @test info(format"CSV") == ((),".csv") |
| 70 | + @test FileIO.info(format"CSV") == ((),".csv") |
71 | 71 | add_format(format"FOO", (), ".foo") # issue #17 |
72 | | - @test_throws Exception info(format"OOPS") |
| 72 | + @test_throws Exception FileIO.info(format"OOPS") |
73 | 73 | @test FileIO.ext2sym[".csv"] == :CSV |
74 | 74 | del_format(format"FOO") |
75 | 75 | @test FileIO.magic_list == [Pair((),:CSV)] |
76 | 76 | del_format(format"CSV") |
77 | 77 | @test isempty(FileIO.ext2sym) |
78 | 78 | @test isempty(FileIO.magic_list) |
79 | 79 | @test isempty(FileIO.sym2info) |
80 | | - @test_throws Exception info(format"CSV") |
| 80 | + @test_throws Exception FileIO.info(format"CSV") |
81 | 81 |
|
82 | 82 | add_format(format"JUNK", "JUNK", [".jnk",".junk",".JNK"]) |
83 | 83 |
|
84 | | - @test info(format"JUNK") == (tuple(b"JUNK"...),[".jnk",".junk",".JNK"]) |
| 84 | + @test FileIO.info(format"JUNK") == (tuple(b"JUNK"...),[".jnk",".junk",".JNK"]) |
85 | 85 | @test FileIO.ext2sym[".jnk"] == :JUNK |
86 | 86 | @test FileIO.ext2sym[".junk"] == :JUNK |
87 | 87 | @test FileIO.ext2sym[".JNK"] == :JUNK |
|
0 commit comments