Skip to content

Commit

Permalink
Adds test for FilePaths with DataFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
morris25 committed Oct 16, 2019
1 parent 6665922 commit 0b2c95a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 206 deletions.
204 changes: 0 additions & 204 deletions Manifest.toml

This file was deleted.

4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version = "0.5.13"
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
Parsers = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720"
Expand All @@ -20,11 +20,11 @@ WeakRefStrings = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
[compat]
CategoricalArrays = "0.5,0.6,0.7"
DataFrames = "0.18,0.19,0.20"
LazyArrays = "0.12"
Parsers = "0.3"
PooledArrays = "0.5"
Tables = "0.1,0.2"
WeakRefStrings = "0.5,0.6"
LazyArrays = "0.12"
julia = "1"

[extras]
Expand Down
5 changes: 5 additions & 0 deletions test/write.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,9 @@ using CSV, Dates, WeakRefStrings, CategoricalArrays, Tables
end

@test read(rd, String) == "col1,col2,col3\n1,4,7\n2,5,8\n3,6,9\n"

mktmpdir() do tmp
CSV.write(tmp / "test.txt", df)
@test CSV.read(tmp / "test.txt") == df
end
end

0 comments on commit 0b2c95a

Please sign in to comment.